Class: HashWithIndifferentAccess
- Inherits:
-
Hash
- Object
- Hash
- HashWithIndifferentAccess
- Defined in:
- lib/xml_easy.rb
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
14 15 16 |
# File 'lib/xml_easy.rb', line 14 def [](key) super(key.to_s) || super(key.to_sym) end |
#[]=(key, val) ⇒ Object
18 19 20 |
# File 'lib/xml_easy.rb', line 18 def []=(key, val) super(key.to_s, val) end |