Exception: Poefy::NotEnoughData

Inherits:
GenerationError show all
Defined in:
lib/poefy/exceptions.rb

Instance Method Summary collapse

Methods inherited from Error

#console_msg

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 console_message = nil
  super msg, console_message
end

Instance Method Details

#msgObject



74
75
76
# File 'lib/poefy/exceptions.rb', line 74

def msg
  "Not enough rhyming lines in the input"
end