Parent

Mechanize::Headers

Public Instance Methods

[](key) click to toggle source
   # File lib/mechanize/headers.rb, line 2
2:   def [](key)
3:     super(key.downcase)
4:   end
[]=(key, value) click to toggle source
   # File lib/mechanize/headers.rb, line 6
6:   def []=(key, value)
7:     super(key.downcase, value)
8:   end
canonical_each() click to toggle source
    # File lib/mechanize/headers.rb, line 14
14:   def canonical_each
15:     block_given? or return enum_for(__method__)
16:     each { |key, value|
17:       key = key.capitalize
18:       key.gsub!(/-([a-z])/) { "-#{$1.upcase}" }
19:       yield [key, value]
20:     }
21:   end
key?(key) click to toggle source
    # File lib/mechanize/headers.rb, line 10
10:   def key?(key)
11:     super(key.downcase)
12:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.