Parent

Methods

Class/Module Index [+]

Quicksearch

ActionDispatch::Http::Headers

Public Class Methods

new(*args) click to toggle source
# File lib/action_dispatch/http/headers.rb, line 8
def initialize(*args)
  if args.size == 1 && args[0].is_a?(Hash)
    super()
    update(args[0])
  else
    super
  end
end

Public Instance Methods

[](header_name) click to toggle source
# File lib/action_dispatch/http/headers.rb, line 17
def [](header_name)
  if include?(header_name)
    super
  else
    super(env_name(header_name))
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.