Class: CaseInsensitiveHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/w-stdlib/case_insensitive_hash.rb

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



2
3
4
# File 'lib/w-stdlib/case_insensitive_hash.rb', line 2

def [](key)
  super _insensitive(key)
end

#[]=(key, value) ⇒ Object



6
7
8
# File 'lib/w-stdlib/case_insensitive_hash.rb', line 6

def []=(key, value)
  super _insensitive(key), value
end