Module: DaemonKit::Configurable::InstanceMethods

Defined in:
lib/daemon_kit/core_ext/configurable.rb

Instance Method Summary collapse

Instance Method Details

#set(name, value) ⇒ Object

Force the value of a configurable to be set without any respect for it’s locked status.



80
81
82
83
84
85
86
# File 'lib/daemon_kit/core_ext/configurable.rb', line 80

def set( name, value )
  name = name.to_sym

  if self.class.configurables.has_key?( name )
    _configurables[ name ] = value
  end
end