    # File lib/action_controller/cgi_ext/cookie.rb, line 30
        def initialize(name = '', *value)
          if name.kind_of?(String)
            @name = name
            @value = Array(value)
            @domain = nil
            @expires = nil
            @secure = false
            @http_only = false
            @path = nil
          else
            @name = name['name']
            @value = (name['value'].kind_of?(String) ? [name['value']] : Array(name['value'])).delete_if(&:blank?)
            @domain = name['domain']
            @expires = name['expires']
            @secure = name['secure'] || false
            @http_only = name['http_only'] || false
            @path = name['path']
          end

          raise ArgumentError, "`name' required" unless @name

          # simple support for IE
          unless @path
            %r|^(.*/)|.match(ENV['SCRIPT_NAME'])
            @path = ($1 or '')
          end

          super(@value)
        end