Methods
Public Class methods
[ show source ]
# File actionpack/lib/action_controller/headers.rb, line 8
8: def initialize(*args)
9: if args.size == 1 && args[0].is_a?(Hash)
10: super()
11: update(args[0])
12: else
13: super
14: end
15: end
Public Instance methods
[ show source ]
# File actionpack/lib/action_controller/headers.rb, line 17
17: def [](header_name)
18: if include?(header_name)
19: super
20: else
21: super(env_name(header_name))
22: end
23: end