Class: Wasserstand::HashClod
- Inherits:
-
Hash
- Object
- Hash
- Wasserstand::HashClod
- Defined in:
- lib/wasserstand/hash_clod.rb
Overview
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
4 5 6 |
# File 'lib/wasserstand/hash_clod.rb', line 4 def [](key) key.respond_to?(:upcase) ? super(UnicodeUtils.upcase(key)) : super(key) end |
#[]=(key, value) ⇒ Object
8 9 10 |
# File 'lib/wasserstand/hash_clod.rb', line 8 def []=(key, value) key.respond_to?(:upcase) ? super(UnicodeUtils.upcase(key), value) : super(key, value) end |