Exception: RailsSettings::ProtectedKeyError

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

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ ProtectedKeyError

Returns a new instance of ProtectedKeyError.



5
6
7
# File 'lib/rails-settings/base.rb', line 5

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