Module: Mail::RFC2822::Date0

Defined in:
lib/mail/parsers/rfc2822.rb

Instance Method Summary collapse

Instance Method Details

#dayObject



3224
3225
3226
# File 'lib/mail/parsers/rfc2822.rb', line 3224

def day
  elements[0]
end

#monthObject



3228
3229
3230
# File 'lib/mail/parsers/rfc2822.rb', line 3228

def month
  elements[1]
end

#yearObject



3232
3233
3234
# File 'lib/mail/parsers/rfc2822.rb', line 3232

def year
  elements[2]
end