Class: FromLine

Inherits:
Object
  • Object
show all
Defined in:
lib/fluent/plugin/sendmailparser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(record) ⇒ FromLine

Returns a new instance of FromLine.



120
121
122
# File 'lib/fluent/plugin/sendmailparser.rb', line 120

def initialize(record)
  @record = record
end

Instance Attribute Details

#recordObject (readonly)

Returns the value of attribute record.



119
120
121
# File 'lib/fluent/plugin/sendmailparser.rb', line 119

def record
  @record
end