Exception: RailsSettings::ProtectedKeyError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RailsSettings::ProtectedKeyError
- Defined in:
- lib/rails-settings-cached.rb
Instance Method Summary collapse
-
#initialize(key) ⇒ ProtectedKeyError
constructor
A new instance of ProtectedKeyError.
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 |