lib/spidr/page/cookies.rb
def cookie_params
      params = {}

      cookies.each do |value|
        value.split(';').each do |param|
          param.strip!

          name, value = param.split('=',2)

          unless name =~ RESERVED_COOKIE_NAMES
            params[name] = (value || '')
          end
        end
      end

      return params
    end
def cookie_params
      params = {}

      cookies.each do |value|
        value.split(';').each do |param|
          param.strip!

          name, value = param.split('=',2)

          unless name =~ RESERVED_COOKIE_NAMES
            params[name] = (value || '')
          end
        end
      end

      return params
    end
def cookie_params params = { } cookies . each do | value | value . split ( ';' ) . each do | param | param . strip! name , value = param . split ( '=' , 2 ) unless name =~ RESERVED_COOKIE_NAMES params [ name ] = ( value || '' ) end end end return params end
The Cookie key -> value pairs returned with the response.

 @return [Hash{String => String}]
   The cookie keys and values.

 @since 0.2.2
The Cookie key - > value pairs returned with the response .