Class: Sheetah::RowProcessorResult
- Inherits:
-
Object
- Object
- Sheetah::RowProcessorResult
- Defined in:
- lib/sheetah/row_processor_result.rb
Instance Attribute Summary collapse
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
-
#row ⇒ Object
readonly
Returns the value of attribute row.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(row:, result:, messages: []) ⇒ RowProcessorResult
constructor
A new instance of RowProcessorResult.
Constructor Details
#initialize(row:, result:, messages: []) ⇒ RowProcessorResult
Returns a new instance of RowProcessorResult.
5 6 7 8 9 |
# File 'lib/sheetah/row_processor_result.rb', line 5 def initialize(row:, result:, messages: []) @row = row @result = result = end |
Instance Attribute Details
#messages ⇒ Object (readonly)
Returns the value of attribute messages.
11 12 13 |
# File 'lib/sheetah/row_processor_result.rb', line 11 def end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
11 12 13 |
# File 'lib/sheetah/row_processor_result.rb', line 11 def result @result end |
#row ⇒ Object (readonly)
Returns the value of attribute row.
11 12 13 |
# File 'lib/sheetah/row_processor_result.rb', line 11 def row @row end |
Instance Method Details
#==(other) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/sheetah/row_processor_result.rb', line 13 def ==(other) other.is_a?(self.class) && row == other.row && result == other.result && == other. end |