Methods
Public Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 145
145: def body
146: ensure_parsed
147: @body
148: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 150
150: def body=( arg )
151: ensure_parsed
152: @body = arg
153: end
Private Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 168
168: def do_accept( strategy )
169: strategy.text @body
170: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 164
164: def isempty?
165: not @body
166: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 160
160: def parse
161: @body = Decoder.decode(@body.gsub(/\n|\r\n|\r/, ''))
162: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 157
157: def parse_init
158: end