Class: ETL::Parser::CsvParser::Field

Inherits:
Object
  • Object
show all
Defined in:
lib/etl/parser/csv_parser.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Field

Returns a new instance of Field.



87
88
89
# File 'lib/etl/parser/csv_parser.rb', line 87

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



86
87
88
# File 'lib/etl/parser/csv_parser.rb', line 86

def name
  @name
end