Class: TMail::Mail

Inherits:
Object show all
Defined in:
lib/tworgy/tmail.rb

Instance Method Summary collapse

Instance Method Details

#plainest_bodyObject



5
6
7
8
# File 'lib/tworgy/tmail.rb', line 5

def plainest_body
  plain, html = find_plain_and_html(self)
  plain.blank? ? html : plain
end