Class: Mechanize::Headers

Inherits:
Hash
  • Object
show all
Defined in:
lib/mechanize/headers.rb

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



3
4
5
# File 'lib/mechanize/headers.rb', line 3

def [](key)
  super(key.downcase)
end

#[]=(key, value) ⇒ Object



6
7
8
# File 'lib/mechanize/headers.rb', line 6

def []=(key, value)
  super(key.downcase, value)
end