Results for: "partition"

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

True when the gem has been activated

Version of the gem

Create on demand parser.

The Requirement of the unresolved dependency (not Version).

Ensure path and path with extension are identical.

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

Parses the uri, raising if it’s invalid

Parses the uri, returning the original uri if it’s invalid

Returns the parser to be used.

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

Returns true if URI does not have a scheme (e.g. http:// or https://) specified.

Returns extensions.

Setter for extensions val.

Args

uri

String

Description

Parses uri and constructs either matching URI scheme object (File, 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 ldap://ldap.example.com/dc=example?user=john>
Search took: 3ms  ·  Total Results: 3199