Results for: "partition"

Generates a radio-button Input element.

name is the name of the input field. value is the value of the field if checked. checked specifies whether the field starts off checked.

Alternatively, the attributes can be specified as a hash.

radio_button("name", "value")
  # <INPUT TYPE="radio" NAME="name" VALUE="value">

radio_button("name", "value", true)
  # <INPUT TYPE="radio" NAME="name" VALUE="value" CHECKED>

radio_button("NAME" => "name", "VALUE" => "value", "ID" => "foo")
  # <INPUT TYPE="radio" NAME="name" VALUE="value" ID="foo">

Notifies observers of a change in state. See also Observable#notify_observers

Any parameters specified for the content type, returned as a Hash. For example, a header of Content-Type: text/html; charset=EUC-JP would result in type_params returning {‘charset’ => ‘EUC-JP’}

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Called when a tag is encountered. @p name the tag name @p attrs an array of arrays of attribute/value pairs, suitable for use with assoc or rassoc. IE, <tag attr1=“value1” attr2=“value2”> will result in tag_start( “tag”, # [[“attr1”,“value1”],])

No documentation available
No documentation available
No documentation available
No documentation available

If response is an HTTP Success (2XX) response, yields the response if a block was given or shows the response body to the user.

If the response was not successful, shows an error to the user including the error_prefix and the response body.

Displays a warning statement to the warning output location. Asks a question if given.

Enumerates the parents of directory.

This format specification is a subset of mod_log_config of Apache:

%a

Remote IP address

%b

Total response size

%e{variable}

Given variable in ENV

%f

Response filename

%h

Remote host name

%{header}i

Given request header

%l

Remote logname, always “-”

%m

Request method

%{attr}n

Given request attribute from req.attributes

%{header}o

Given response header

%p

Server’s request port

%{format}p

The canonical port of the server serving the request or the actual port or the client’s actual port. Valid formats are canonical, local or remote.

%q

Request query string

%r

First line of the request

%s

Request status

%t

Time the request was received

%T

Time taken to process the request

%u

Remote user from auth

%U

Unparsed URI

%%

Literal %

Parses an HTTP header raw into a hash of header fields with an Array of values.

Parses an HTTP header raw into a hash of header fields with an Array of values.

Parses q values in value as used in Accept headers.

Parses q values in value as used in Accept headers.

Parses the query component of a URI in str

Parses the query component of a URI in str

Parses the current JSON text source and returns the complete data structure as a result.

Returns the SSLSession object currently used, or nil if the session is not established.

Search took: 5ms  ·  Total Results: 3090