class TMail::MessageIdHeader
Public Instance Methods
id()
click to toggle source
# File lib/tmail/header.rb, line 396 def id ensure_parsed @id end
id=( arg )
click to toggle source
# File lib/tmail/header.rb, line 401 def id=( arg ) ensure_parsed @id = arg end
Private Instance Methods
do_accept( strategy )
click to toggle source
# File lib/tmail/header.rb, line 421 def do_accept( strategy ) strategy.meta @id end
do_parse()
click to toggle source
# File lib/tmail/header.rb, line 416 def do_parse @id = @body.slice(MESSAGE_ID) or raise SyntaxError, "wrong Message-ID format: #{@body}" end
init()
click to toggle source
# File lib/tmail/header.rb, line 408 def init @id = nil end
isempty?()
click to toggle source
# File lib/tmail/header.rb, line 412 def isempty? not @id end