Exception: RailsSettings::ProtectedKeyError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RailsSettings::ProtectedKeyError
- Defined in:
- lib/rails-settings/base.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.
5 6 7 |
# File 'lib/rails-settings/base.rb', line 5 def initialize(key) super("Can't use #{key} as setting key.") end |