Results for: "partition"

True when the gem has been activated

Version of the gem

Create on demand parser.

No documentation available

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

Extensions to build when installing the gem, specifically the paths to extconf.rb-style files used to compile extensions.

These files will be run when the gem is installed, causing the C (or whatever) code to be compiled on the user’s machine.

Usage:

spec.extensions << 'ext/rmagic/extconf.rb'

See Gem::Ext::Builder for information about writing extensions for gems.

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.

Sets extensions to extensions, ensuring it is an array. Don’t use this, push onto the array instead.

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

No documentation available

%pwd, %cwd -> @pwd

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

ex)

if you wish to output:
   "shell: job(#{@command}:#{@pid}) close pipe-out."
then
   mes: "job(%id) close pipe-out."
yorn: Boolean(@shell.debug? or @shell.verbose?)

returns the parser to be used.

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

Checks if URI is relative

returns extensions.

setter for extensions val

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>
Search took: 2ms  ·  Total Results: 2899