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