Class: Web::Connection::CaseInsensitiveHash
- Defined in:
- lib/web/connection.rb
Overview
Purpose
this hash is has case insensitive keys. Might be somewhat incomplete
Instance Method Summary collapse
Methods inherited from Hash
#__index, #assert_includes, #compare_includes?
Instance Method Details
#[](key) ⇒ Object
:nodoc:
1056 1057 1058 |
# File 'lib/web/connection.rb', line 1056 def [](key) super( key.to_s.downcase ) end |
#[]=(key, value) ⇒ Object
1060 1061 1062 |
# File 'lib/web/connection.rb', line 1060 def []= (key, value) super( key.to_s.downcase, value ) end |
#has_key?(key) ⇒ Boolean
1064 1065 1066 |
# File 'lib/web/connection.rb', line 1064 def has_key? (key) super( key.to_s.downcase ) end |