Exception: Hanoi::Jane::SearchException
- Inherits:
-
Exception
- Object
- Exception
- Hanoi::Jane::SearchException
- Defined in:
- lib/hanoi/jane/towers/towers.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text) ⇒ SearchException
constructor
A new instance of SearchException.
Constructor Details
#initialize(text) ⇒ SearchException
Returns a new instance of SearchException.
109 110 111 |
# File 'lib/hanoi/jane/towers/towers.rb', line 109 def initialize text @text = text end |
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text.
107 108 109 |
# File 'lib/hanoi/jane/towers/towers.rb', line 107 def text @text end |