# File lib/mail/message.rb, line 1860 def text? has_content_type? ? !!(main_type =~ /^text$/i) : false end