class TMail::DateTimeHeader
Constants
- PARSE_TYPE
Public Instance Methods
date()
click to toggle source
# File lib/tmail/header.rb, line 259 def date ensure_parsed @date end
date=( arg )
click to toggle source
# File lib/tmail/header.rb, line 264 def date=( arg ) ensure_parsed @date = arg end
Private Instance Methods
do_accept( strategy )
click to toggle source
# File lib/tmail/header.rb, line 283 def do_accept( strategy ) strategy.meta time2str(@date) end
init()
click to toggle source
# File lib/tmail/header.rb, line 271 def init @date = nil end
isempty?()
click to toggle source
# File lib/tmail/header.rb, line 279 def isempty? not @date end
set( t )
click to toggle source
# File lib/tmail/header.rb, line 275 def set( t ) @date = t end