Exception: NMatrix::IO::Matlab::Mat5Reader::ElementDataIOError
- Defined in:
- lib/nmatrix/io/mat5_reader.rb
Overview
:nodoc:
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.
505 506 507 508 |
# File 'lib/nmatrix/io/mat5_reader.rb', line 505 def initialize(tag = nil, msg = nil) @tag = tag super msg end |
Instance Attribute Details
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
503 504 505 |
# File 'lib/nmatrix/io/mat5_reader.rb', line 503 def tag @tag end |
Instance Method Details
#to_s ⇒ Object
510 511 512 |
# File 'lib/nmatrix/io/mat5_reader.rb', line 510 def to_s @tag.inspect + "\n" + super end |