Exception: Poefy::NotEnoughData
- Inherits:
-
GenerationError
- Object
- StandardError
- Error
- GenerationError
- Poefy::NotEnoughData
- Defined in:
- lib/poefy/exceptions.rb
Instance Method Summary collapse
-
#initialize(console_message = nil) ⇒ NotEnoughData
constructor
A new instance of NotEnoughData.
- #msg ⇒ Object
Methods inherited from Error
Constructor Details
#initialize(console_message = nil) ⇒ NotEnoughData
Returns a new instance of NotEnoughData.
77 78 79 |
# File 'lib/poefy/exceptions.rb', line 77 def initialize = nil super msg, end |
Instance Method Details
#msg ⇒ Object
74 75 76 |
# File 'lib/poefy/exceptions.rb', line 74 def msg "Not enough rhyming lines in the input" end |