Exception: Configatron::ProtectedParameter

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/configatron/errors.rb

Instance Method Summary collapse

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