Results for: "OptionParser"

@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
No documentation available
No documentation available
No documentation available

Version of the gem

Override to display a longer description of what this command does.

The Requirement of the unresolved dependency (not Version).

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")]

A string representation of this Version.

No documentation available

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.

No documentation available
No documentation available

Args

uri

String

Description

parses uri and constructs either matching URI scheme object (FTP, HTTP, HTTPS, LDAP, LDAPS, or MailTo) or URI::Generic

Usage

p = URI::Parser.new
p.parse("ldap://ldap.example.com/dc=example?user=john")
#=> #<URI::LDAP:0x00000000b9e7e8 URL:ldap://ldap.example.com/dc=example?user=john>

Args

uri

String

Description

parses uri and constructs either matching URI scheme object (FTP, HTTP, HTTPS, LDAP, LDAPS, or MailTo) or URI::Generic

Usage

p = URI::Parser.new
p.parse("ldap://ldap.example.com/dc=example?user=john")
#=> #<URI::LDAP:0x00000000b9e7e8 URL:ldap://ldap.example.com/dc=example?user=john>

Parses a Cookie field sent from the user-agent. Returns an array of cookies.

Parses a request from socket. This is called internally by WEBrick::HTTPServer.

No documentation available

Generate a Table Caption element as a string.

align can be a string, giving the alignment of the caption (one of top, bottom, left, or right). It can be a hash of all the attributes of the element. Or it can be omitted.

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

caption("left") { "Capital Cities" }
  # => <CAPTION ALIGN=\"left\">Capital Cities</CAPTION>

Returns collection of supported maker versions

Parses the configuration data read from io, see also parse.

Raises a ConfigError on invalid configuration data.

Search took: 4ms  ·  Total Results: 4130