Module: PRC::BaseConfigRubySpec::Public
- Included in:
- PRC::BaseConfig
- Defined in:
- lib/compat/prc_base_config.rb,
lib/compat/1.8/prc_base_config.rb
Overview
Public functions
Instance Method Summary collapse
-
#[]=(*prop) ⇒ Object
Set function.
Instance Method Details
#[]=(*prop) ⇒ Object
Set function
-
Args
-
*prop : from *prop, is a combination:
-
*keys : Keys where to set value.
-
value : value to set.
-
-
-
Returns
-
The value set or nil
-
ex:
value = CoreConfig.New
value[:level1, :level2] = 'value'
# => {:level1 => {:level2 => 'value'}}
37 38 39 |
# File 'lib/compat/prc_base_config.rb', line 37 def []=(*keys, value) p_set(*keys, value) end |