Exception: ArrowFormat::FileReadError
- Defined in:
- lib/arrow-format/error.rb
Instance Attribute Summary collapse
-
#buffer ⇒ Object
readonly
Returns the value of attribute buffer.
Instance Method Summary collapse
-
#initialize(buffer, message) ⇒ FileReadError
constructor
A new instance of FileReadError.
Constructor Details
#initialize(buffer, message) ⇒ FileReadError
Returns a new instance of FileReadError.
26 27 28 29 |
# File 'lib/arrow-format/error.rb', line 26 def initialize(buffer, ) @buffer = buffer super("#{}: #{@buffer.inspect}") end |
Instance Attribute Details
#buffer ⇒ Object (readonly)
Returns the value of attribute buffer.
25 26 27 |
# File 'lib/arrow-format/error.rb', line 25 def buffer @buffer end |