class Poefy::MissingFormOrRhyme

Public Class Methods

new() click to toggle source
Calls superclass method Poefy::Error::new
# File lib/poefy/exceptions.rb, line 36
def initialize
  super msg, console_msg
end

Public Instance Methods

console_msg() click to toggle source
# File lib/poefy/exceptions.rb, line 31
def console_msg
    "ERROR: No valid rhyme or form option specified." +
  "\n       Try again using the -f or -r option." +
  "\n       Use -h or --help to view valid forms."
end
msg() click to toggle source
# File lib/poefy/exceptions.rb, line 28
def msg
  "No valid rhyme or form input specified"
end