Exception: Poefy::RhymeError

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

Instance Method Summary collapse

Methods inherited from Error

#console_msg

Constructor Details

#initializeRhymeError

Returns a new instance of RhymeError.



45
46
47
# File 'lib/poefy/exceptions.rb', line 45

def initialize
  super msg
end

Instance Method Details

#msgObject



42
43
44
# File 'lib/poefy/exceptions.rb', line 42

def msg
  "Rhyme input is not valid"
end