Exception: Hanoi::Jane::MatrixException

Inherits:
HanoiException show all
Defined in:
lib/hanoi/jane/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text) ⇒ MatrixException

Returns a new instance of MatrixException.



22
23
24
# File 'lib/hanoi/jane/exceptions.rb', line 22

def initialize text
  @text = text
end

Instance Attribute Details

#textObject (readonly)

Returns the value of attribute text.



20
21
22
# File 'lib/hanoi/jane/exceptions.rb', line 20

def text
  @text
end