Exception: Hanoi::Jane::SearchException
- Inherits:
-
HanoiException
- Object
- Exception
- HanoiException
- Hanoi::Jane::SearchException
- Defined in:
- lib/hanoi/jane/exceptions.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.
14 15 16 |
# File 'lib/hanoi/jane/exceptions.rb', line 14 def initialize text @text = text end |
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text.
12 13 14 |
# File 'lib/hanoi/jane/exceptions.rb', line 12 def text @text end |