Results for: "optionparser"

Reset the list of known specs, running pre and post reset hooks registered in Gem.

Activate this spec, registering it as a loaded spec and adding it’s lib paths to $LOAD_PATH. Returns true if the spec was activated, false if it was previously activated. Freaks out if there are conflicts upon activation.

Sanitize the descriptive fields in the spec. Sometimes non-ASCII characters will garble the site index. Non-ASCII characters will be replaced by their XML entity equivalent.

The list of author names who wrote this gem.

spec.authors = ['Chad Fowler', 'Jim Weirich', 'Rich Kilmer']

Return any possible conflicts against the currently loaded specs.

Singular accessor for licenses

Plural accessor for setting licenses

See license= for details

A short summary of this gem’s description.

No documentation available

Merges the requirements of other into this dependency

Backport of performance enhancement added to RubyGems 1.4

Concatenates the new requirements onto this requirement.

Creates a new Net::HTTP object, then additionally opens the TCP connection and HTTP session.

Arguments are the following:

address

hostname or IP address of the server

port

port of the server

p_addr

address of proxy

p_port

port of proxy

p_user

user of proxy

p_pass

pass of proxy

opt

optional hash

opt sets following values by its accessor. The keys are ca_file, ca_path, cert, cert_store, ciphers, close_on_empty_response, key, open_timeout, read_timeout, write_timeout, ssl_timeout, ssl_version, use_ssl, verify_callback, verify_depth and verify_mode. If you set :use_ssl as true, you can use https and default value of verify_mode is set as OpenSSL::SSL::VERIFY_PEER.

If the optional block is given, the newly created Net::HTTP object is passed to it and closed when the block finishes. In this case, the return value of this method is the return value of the block. If no block is given, the return value of this method is the newly created Net::HTTP object itself, and the caller is responsible for closing it upon completion using the finish() method.

Returns true if the HTTP session has been started.

Opens a TCP connection and HTTP session.

When this method is called with a block, it passes the Net::HTTP object to the block, and closes the TCP connection and HTTP session after the block has been executed.

When called with a block, it returns the return value of the block; otherwise, it returns self.

No documentation available

Sends a PATCH request to the path and gets a response, as an HTTPResponse object.

Sends a PROPFIND request to the path and gets a response, as an HTTPResponse object.

Sends a COPY request to the path and gets a response, as an HTTPResponse object.

Set whether the Cookie is a secure cookie or not.

val must be a boolean.

Set whether the Cookie is a httponly cookie or not.

val must be a boolean.

Store session data on the server and close the session storage. For some session storage types, this is a no-op.

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