method
new
v3.0.9 -
Show latest stable
- Class:
ActionDispatch::Http::Headers
new(*args)public
No documentation available.
# File actionpack/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