method

new

rails latest stable - Class: ActionController::Http::Headers

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

new(*args)
public

No documentation available.

# File actionpack/lib/action_controller/headers.rb, line 8
      def initialize(*args)
         if args.size == 1 && args[0].is_a?(Hash)
           super()
           update(args[0])
         else
           super
         end
       end