class TMail::UnstructuredHeader
Public Instance Methods
body()
click to toggle source
# File lib/tmail/header.rb, line 176 def body ensure_parsed @body end
body=( arg )
click to toggle source
# File lib/tmail/header.rb, line 181 def body=( arg ) ensure_parsed @body = arg end
Private Instance Methods
do_accept( strategy )
click to toggle source
# File lib/tmail/header.rb, line 199 def do_accept( strategy ) strategy.text @body end
isempty?()
click to toggle source
# File lib/tmail/header.rb, line 195 def isempty? not @body end
parse()
click to toggle source
# File lib/tmail/header.rb, line 191 def parse @body = Decoder.decode(@body.gsub(/\n|\r\n|\r/, '')) end
parse_init()
click to toggle source
# File lib/tmail/header.rb, line 188 def parse_init end