Exception: Poefy::RhymeError
- Inherits:
-
InputError
- Object
- StandardError
- Error
- InputError
- Poefy::RhymeError
- Defined in:
- lib/poefy/exceptions.rb
Instance Method Summary collapse
-
#initialize ⇒ RhymeError
constructor
A new instance of RhymeError.
- #msg ⇒ Object
Methods inherited from Error
Constructor Details
#initialize ⇒ RhymeError
Returns a new instance of RhymeError.
45 46 47 |
# File 'lib/poefy/exceptions.rb', line 45 def initialize super msg end |
Instance Method Details
#msg ⇒ Object
42 43 44 |
# File 'lib/poefy/exceptions.rb', line 42 def msg "Rhyme input is not valid" end |