Module: Tape::MailExt

Defined in:
lib/tape/mail_ext.rb

Instance Method Summary collapse

Instance Method Details

#default_partObject



5
6
7
# File 'lib/tape/mail_ext.rb', line 5

def default_part
  @default_part ||= html_part || text_part || self
end

#default_part_bodyObject



9
10
11
# File 'lib/tape/mail_ext.rb', line 9

def default_part_body
  default_part.body
end