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.



488
489
490
491
# File 'lib/nmatrix/io/mat5_reader.rb', line 488

def initialize(tag = nil, msg = nil)
  @tag = tag
  super msg
end

Instance Attribute Details

#tagObject (readonly)

Returns the value of attribute tag.



486
487
488
# File 'lib/nmatrix/io/mat5_reader.rb', line 486

def tag
  @tag
end

Instance Method Details

#to_sObject



493
494
495
# File 'lib/nmatrix/io/mat5_reader.rb', line 493

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