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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

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



477
478
479
# File 'lib/nmatrix/io/mat5_reader.rb', line 477

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