| Class | TMail::StructuredHeader |
| In: |
actionmailer/lib/action_mailer/vendor/tmail/header.rb
|
| Parent: | HeaderField |
# File actionmailer/lib/action_mailer/vendor/tmail/header.rb, line 177 def comments ensure_parsed @comments end
# File actionmailer/lib/action_mailer/vendor/tmail/header.rb, line 209 def do_parse obj = Parser.parse(self.class::PARSE_TYPE, @body, @comments) set obj if obj end
# File actionmailer/lib/action_mailer/vendor/tmail/header.rb, line 184 def parse save = nil begin parse_init do_parse rescue SyntaxError if not save and mime_encoded? @body save = @body @body = Decoder.decode(save) retry elsif save @body = save end @illegal = true raise if @config.strict_parse? end end