Exception: Hanoi::Jane::SearchException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text) ⇒ SearchException

Returns a new instance of SearchException.



14
15
16
# File 'lib/hanoi/jane/exceptions.rb', line 14

def initialize text
  @text = text
end

Instance Attribute Details

#textObject (readonly)

Returns the value of attribute text.



12
13
14
# File 'lib/hanoi/jane/exceptions.rb', line 12

def text
  @text
end