Results for: "OptionParser"

Returns the parser to be used.

Unless a URI::Parser is defined, DEFAULT_PARSER is used.

No documentation available
No documentation available
No documentation available

Merge a set of command options with the set of default options (without modifying the default option hash).

No documentation available
No documentation available

Add the –prerelease option to the option parser.

Run UDP/IP server loop on the given sockets.

The return value of Socket.udp_server_sockets is appropriate for the argument.

It calls the block for each message received.

Parses a given string as a blob that contains configuration for OpenSSL.

If the source of the IO is a file, then consider using parse_config.

Get the names of all sections in the current configuration

Parse the YAML document contained in yaml. Events will be called on the handler set on the parser instance.

See Psych::Parser and Psych::Parser#handler

Another entry point for the parser. If you use this method, you must implement RECEIVER#METHOD_ID method.

RECEIVER#METHOD_ID is a method to get next token. It must ‘yield’ the token, which format is [TOKEN-SYMBOL, VALUE].

Starts the parser. init is a data accumulator and is passed to the next event handler (as of Enumerable#inject).

A detailed description of this gem. See also summary

Set the version to version, potentially also setting required_rubygems_version if version indicates it is a prerelease.

Parse obj, returning an [op, version] pair. obj can be a String or a Gem::Version.

If obj is a String, it can be either a full requirement specification, like ">= 1.2", or a simple version number, like "1.2".

parse("> 1.0")                 # => [">", Gem::Version.new("1.0")]
parse("1.0")                   # => ["=", Gem::Version.new("1.0")]
parse(Gem::Version.new("1.0")) # => ["=,  Gem::Version.new("1.0")]

Turns on net/http 1.2 (Ruby 1.8) features. Defaults to ON in Ruby 1.8 or later.

Parse a raw cookie string into a hash of cookie-name=>Cookie pairs.

cookies = CGI::Cookie.parse("raw_cookie_string")
  # { "name1" => cookie1, "name2" => cookie2, ... }
No documentation available

Create a DRbUnknownError exception containing this object.

@return the XMLDecl version of this document as a String. If no XMLDecl has been set, returns the default version.

No documentation available
No documentation available
No documentation available
Search took: 3ms  ·  Total Results: 4416