Class: CsvParser::Result
- Inherits:
-
Object
- Object
- CsvParser::Result
- Defined in:
- lib/csv_parser/result.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#warnings ⇒ Object
readonly
Returns the value of attribute warnings.
Instance Method Summary collapse
-
#initialize(data, warnings) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(data, warnings) ⇒ Result
Returns a new instance of Result.
4 5 6 7 |
# File 'lib/csv_parser/result.rb', line 4 def initialize(data, warnings) @data = data @warnings = warnings end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
3 4 5 |
# File 'lib/csv_parser/result.rb', line 3 def data @data end |
#warnings ⇒ Object (readonly)
Returns the value of attribute warnings.
3 4 5 |
# File 'lib/csv_parser/result.rb', line 3 def warnings @warnings end |