Exception: Configatron::ProtectedParameter
- Defined in:
- lib/configatron/errors.rb
Instance Method Summary collapse
-
#initialize(_name) ⇒ ProtectedParameter
constructor
A new instance of ProtectedParameter.
Constructor Details
#initialize(_name) ⇒ ProtectedParameter
Returns a new instance of ProtectedParameter.
3 4 5 |
# File 'lib/configatron/errors.rb', line 3 def initialize(_name) super("Can not modify protected parameter: '#{_name}'") end |