Exception: NMatrix::IO::Matlab::Mat5Reader::ElementDataIOError

Inherits:
IOError
  • Object
show all
Defined in:
lib/nmatrix/io/mat5_reader.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#tagObject (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_sObject



510
511
512
# File 'lib/nmatrix/io/mat5_reader.rb', line 510

def to_s
  @tag.inspect + "\n" + super
end