Type:
Module

Mixin module that provides the following:

  1. Access to the CGI environment variables as methods. See documentation to the CGI class for a list of these variables. The methods are exposed by removing the leading HTTP_ (if it exists) and downcasing the name. For example, auth_type will return the environment variable AUTH_TYPE, and accept will return the value for HTTP_ACCEPT.

  2. Access to cookies, including the cookies attribute.

  3. Access to parameters, including the params attribute, and overloading [] to perform parameter value lookup by key.

  4. The initialize_query method, for initializing the above mechanisms, handling multipart forms, and allowing the class to be used in “offline” mode.

keys

keys(*args) Instance Public methods Return all query parameter names as an array

2015-03-31 23:16:41
include?

include?(*args) Instance Public methods Alias for:

2015-03-31 23:11:28
params=

params=(hash) Instance Public methods

2015-03-31 23:25:25
has_key?

has_key?(*args) Instance Public methods Returns true if a given query string

2015-03-31 23:10:43
raw_cookie

raw_cookie() Instance Public methods Get the raw cookies as a string.

2015-03-31 23:28:55
raw_cookie2

raw_cookie2() Instance Public methods Get the raw RFC2965 cookies as a string

2015-03-31 23:35:18
multipart?

multipart?() Instance Public methods Returns whether the form contained mul

2015-03-31 23:19:39
[]

[](key) Instance Public methods Get the value for the parameter with a given

2015-03-31 23:04:24
key?

key?(*args) Instance Public methods Alias for:

2015-03-31 23:13:12