Class: TMail::DateTimeHeader

Inherits:
StructuredHeader show all
Defined in:
lib/tmail-pure/header.rb

Constant Summary collapse

PARSE_TYPE =
:DATETIME

Constants inherited from HeaderField

HeaderField::FNAME_TO_CLASS

Instance Method Summary collapse

Methods inherited from StructuredHeader

#comments

Methods inherited from HeaderField

#accept, #body, #body=, #empty?, #illegal?, #initialize, #inspect, internal_new, new, new_from_port, newobj

Methods included from StrategyInterface

#accept_strategy, create_dest, #decoded, #encoded

Constructor Details

This class inherits a constructor from TMail::HeaderField

Instance Method Details

#dateObject



202
203
204
205
# File 'lib/tmail-pure/header.rb', line 202

def date
  ensure_parsed
  @date
end

#date=(arg) ⇒ Object



207
208
209
210
# File 'lib/tmail-pure/header.rb', line 207

def date=(arg)
  ensure_parsed
  @date = arg
end