Class: Ohai::PluginConfig

Inherits:
Hash
  • Object
show all
Defined in:
lib/ohai/plugin_config.rb

Instance Method Summary collapse

Instance Method Details

#[]=(key, value_or_hash) ⇒ Object



23
24
25
26
27
# File 'lib/ohai/plugin_config.rb', line 23

def []=(key, value_or_hash)
  enforce_symbol(key)
  enforce_symbol_keys(value_or_hash) if value_or_hash.is_a?(Hash)
  super(key, value_or_hash)
end