Results for: "Array.new"

Reads lines from the stream which are separated by eol.

See also gets

Reads a line from the stream which is separated by eol.

Raises EOFError if at end of file.

Reads a one-character string from the stream. Raises an EOFError at end of file.

Start streaming using encoding

Returns whether the form contained multipart/form-data

Generate a TextArea element, as a String.

name is the name of the textarea. cols is the number of columns and rows is the number of rows in the display.

Alternatively, the attributes can be specified as a hash.

The body is provided by the passed-in no-argument block

textarea("name")
   # = textarea("NAME" => "name", "COLS" => 70, "ROWS" => 10)

textarea("name", 40, 5)
   # = textarea("NAME" => "name", "COLS" => 40, "ROWS" => 5)
No documentation available

Returns an array of Range objects that represent the value of field 'Range', or nil if there is no such field; see Range request header:

req = Net::HTTP::Get.new(uri)
req['Range'] = 'bytes=0-99,200-299,400-499'
req.range # => [0..99, 200..299, 400..499]
req.delete('Range')
req.range # # => nil
No documentation available

returns a charset parameter in Content-Type field. It is downcased for canonicalization.

If charset parameter is not given but a block is given, the block is called and its result is returned. It can be used to guess charset.

If charset parameter and block is not given, nil is returned except text type. In that case, “utf-8” is returned as defined by RFC6838 4.2.1

Parses self destructively and returns self containing the rest arguments left unparsed.

Generates formatted random number from raw random bytes. See Random#rand.

No documentation available

Displays the given statement on the standard output (or equivalent).

Raises a TypeError to prevent cloning.

Load extra data embed into binary format String object.

Compile a ClassVariableTargetNode node

Compile a GlobalVariableTargetNode node

Compile a InstanceVariableTargetNode node

Compile a KeywordRestParameterNode node

Compile a LocalVariableTargetNode node

Compile a NoKeywordsParameterNode node

Compile a OptionalKeywordParameterNode node

Compile a RequiredKeywordParameterNode node

Dispatch enter and leave events for ClassVariableTargetNode nodes and continue walking the tree.

Search took: 6ms  ·  Total Results: 3535