Results for: "OptionParser"

Returns the last win32 socket Error of the current executing Thread or nil if none

Sets the last win32 socket Error of the current executing Thread to error

Add a list of paths to the $LOAD_PATH at the proper place.

Open a file with given flags, and protect access with a file lock

Open a file with given flags, and protect access with flock

No documentation available

Returns a URL-encoded string derived from the given string str.

The returned string:

Encoding:

In either case, the returned string has forced encoding Encoding::US_ASCII.

Related: URI.encode_uri_component (encodes ' ' as '%20').

Returns a string decoded from the given URL-encoded string str.

The given string is first encoded as Encoding::ASCII-8BIT (using String#b), then decoded (as below), and finally force-encoded to the given encoding enc.

The returned string:

Related: URI.decode_uri_component (preserves '+').

Foo::Bar &&= baz ^^^^^^^^^^^^^^^^

Foo::Bar ||= baz ^^^^^^^^^^^^^^^^

Foo::Bar &&= baz ^^^^^^^^^^^^^^^^

Foo::Bar ||= baz ^^^^^^^^^^^^^^^^

Returns the string that is used to insert a space before the ‘:’ in JSON objects.

Sets the string that is used to insert a space before the ‘:’ in JSON objects.

This string is put at the end of a line that holds a JSON array.

This string is put at the end of a line that holds a JSON array.

This integer returns the maximum level of data structure nesting in the generated JSON, max_nesting = 0 if no maximum is checked.

This sets the maximum level of data structure nesting in the generated JSON to the integer depth, max_nesting = 0 if no maximum should be checked.

If this boolean is true, the forward slashes will be escaped in the json output.

If this boolean is true, the forward slashes will be escaped in the json output.

This sets whether or not the forward slashes will be escaped in the json output.

Returns true, if circular data structures should be checked, otherwise returns false.

Returns true, if only ASCII characters should be generated. Otherwise returns false.

This sets whether only ASCII characters should be generated.

No documentation available
Search took: 7ms  ·  Total Results: 6041