class VerbotenKeys::Errors::StrategyNotFoundError

Public Class Methods

new(invalid_strategy) click to toggle source
Calls superclass method
# File lib/verboten_keys/errors.rb, line 30
def initialize(invalid_strategy)
  super("VerbotenKeys' strategy must be a valid option. You passed in :#{invalid_strategy}, but the only valid options are: #{VerbotenKeys::Configuration::STRATEGIES}.")
end