Exception: NMatrix::IO::Matlab::Mat5Reader::ElementDataIOError
- Defined in:
- lib/nmatrix/io/mat5_reader.rb
Instance Attribute Summary collapse
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
Instance Method Summary collapse
-
#initialize(tag = nil, msg = nil) ⇒ ElementDataIOError
constructor
A new instance of ElementDataIOError.
- #to_s ⇒ Object
Constructor Details
#initialize(tag = nil, msg = nil) ⇒ ElementDataIOError
Returns a new instance of ElementDataIOError.
472 473 474 475 |
# File 'lib/nmatrix/io/mat5_reader.rb', line 472 def initialize(tag = nil, msg = nil) @tag = tag super msg end |
Instance Attribute Details
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
470 471 472 |
# File 'lib/nmatrix/io/mat5_reader.rb', line 470 def tag @tag end |
Instance Method Details
#to_s ⇒ Object
477 478 479 |
# File 'lib/nmatrix/io/mat5_reader.rb', line 477 def to_s @tag.inspect + "\n" + super end |