Class: Web::CaseInsensitiveHash
Overview
Purpose
this hash is has case insensitive keys. Might be somewhat incomplete
Instance Method Summary
collapse
Methods inherited from Hash
#__index, #compare_includes?
Instance Method Details
9
10
11
|
# File 'lib/web/parser.rb', line 9
def [](key)
super( key.to_s.downcase )
end
|
#[]=(key, value) ⇒ Object
13
14
15
|
# File 'lib/web/parser.rb', line 13
def []= (key, value)
super( key.to_s.downcase, value )
end
|
#has_key?(key) ⇒ Boolean
17
18
19
|
# File 'lib/web/parser.rb', line 17
def has_key? (key)
super( key.to_s.downcase )
end
|