Module: PRC::BaseConfigRubySpec::Private

Included in:
PRC::BaseConfig
Defined in:
lib/compat/prc_base_config.rb,
lib/compat/1.8/prc_base_config.rb

Overview

Private functions

Instance Method Summary collapse

Instance Method Details

#p_set(*prop) ⇒ Object



45
46
47
48
49
50
# File 'lib/compat/prc_base_config.rb', line 45

def p_set(*keys, value)
  return nil if keys.length == 0
  return p_get(*keys) if @data_options[:data_readonly]

  @data.rh_set(value, keys)
end