Class: SeparatedValues::RowParser
- Inherits:
-
Object
- Object
- SeparatedValues::RowParser
- Defined in:
- lib/separated_values/row_parser.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#source_data ⇒ Object
readonly
Returns the value of attribute source_data.
Instance Method Summary collapse
-
#initialize(source_data, options = DEFAULT_OPTIONS) ⇒ RowParser
constructor
A new instance of RowParser.
- #parse ⇒ Object
Constructor Details
#initialize(source_data, options = DEFAULT_OPTIONS) ⇒ RowParser
Returns a new instance of RowParser.
7 8 9 10 |
# File 'lib/separated_values/row_parser.rb', line 7 def initialize(source_data, = DEFAULT_OPTIONS) @source_data = source_data @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/separated_values/row_parser.rb', line 5 def @options end |
#source_data ⇒ Object (readonly)
Returns the value of attribute source_data.
5 6 7 |
# File 'lib/separated_values/row_parser.rb', line 5 def source_data @source_data end |