Methods
Public Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 339
339: def id
340: ensure_parsed
341: @id
342: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 344
344: def id=( arg )
345: ensure_parsed
346: @id = arg
347: end
Private Instance methods
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 364
364: def do_accept( strategy )
365: strategy.meta @id
366: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 359
359: def do_parse
360: @id = @body.slice(MESSAGE_ID) or
361: raise SyntaxError, "wrong Message-ID format: #{@body}"
362: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 351
351: def init
352: @id = nil
353: end
[ show source ]
# File lib/action_mailer/vendor/tmail/header.rb, line 355
355: def isempty?
356: not @id
357: end