# File lib/action_mailer/vendor/tmail/attachments.rb, line 9 def has_attachments? multipart? && parts.any? { |part| attachment?(part) } end