Class: MailParser::RFC2822::Received
- Inherits:
-
Object
- Object
- MailParser::RFC2822::Received
- Defined in:
- lib/mailparser/rfc2822.rb
Instance Attribute Summary collapse
-
#date_time ⇒ Object
readonly
Returns the value of attribute date_time.
-
#name_val ⇒ Object
readonly
Returns the value of attribute name_val.
Instance Method Summary collapse
-
#initialize(name_val, date_time) ⇒ Received
constructor
A new instance of Received.
Constructor Details
#initialize(name_val, date_time) ⇒ Received
Returns a new instance of Received.
147 148 149 |
# File 'lib/mailparser/rfc2822.rb', line 147 def initialize(name_val, date_time) @name_val, @date_time = name_val, date_time end |
Instance Attribute Details
#date_time ⇒ Object (readonly)
Returns the value of attribute date_time.
150 151 152 |
# File 'lib/mailparser/rfc2822.rb', line 150 def date_time @date_time end |
#name_val ⇒ Object (readonly)
Returns the value of attribute name_val.
150 151 152 |
# File 'lib/mailparser/rfc2822.rb', line 150 def name_val @name_val end |