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