class Poefy::MissingDBInterface

Public Class Methods

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

Public Instance Methods

console_msg() click to toggle source
# File lib/poefy/exceptions.rb, line 109
def console_msg
    "ERROR: Please specify the type of database to use." +
  "\n       poefy does not implement a database interface by" +
  "\n       default; you must install one of the below gems:" +
  "\n         gem install poefy-sqlite3" +
  "\n         gem install poefy-pg"
end
msg() click to toggle source
# File lib/poefy/exceptions.rb, line 106
def msg
  "Database interface not specified"
end