Exception: RailsSettings::ProtectedKeyError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rails-settings-cached.rb

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ ProtectedKeyError

Returns a new instance of ProtectedKeyError.



20
21
22
# File 'lib/rails-settings-cached.rb', line 20

def initialize(key)
  super("Can't use #{key} as setting key.")
end