class PgDice::NotConfiguredError

Error thrown if you call a method that requires configuration first

Public Class Methods

new(method_name) click to toggle source
Calls superclass method
# File lib/pgdice/error.rb, line 52
def initialize(method_name)
  super("Cannot use #{method_name} before PgDice has been configured! "\
      'See README.md for configuration help.')
end