# File lib/action_mailer/vendor/tmail-1.2.7/tmail/attachments.rb, line 23 def text_content_type? self.header['content-type'] && (self.header['content-type'].main_type == 'text') end