Results for: "Pathname"

True when the gem has been activated

The path to the data directory for this gem.

Platform of the gem

No documentation available

Override to provide details of the arguments a command takes. It should return a left-justified string, one argument per line.

For example:

def usage
  "#{program_name} FILE [FILE ...]"
end

def arguments
  "FILE          name of file to find"
end
No documentation available

Create on demand parser.

What does this dependency require?

No documentation available

Does this dependency match the specification described by name and version or match spec?

NOTE: Unlike matches_spec? this method does not return true when the version is a prerelease version unless this is a prerelease dependency.

Merges the requirements of other into this dependency

No documentation available

Ensure path and path with extension are identical.

Construct an installer object for the gem file located at path

Unpacks the gem into the given directory.

No documentation available
No documentation available
No documentation available

Factory method to create a Gem::Requirement object. Input may be a Version, a String, or nil. Intended to simplify client code.

If the input is “weird”, the default version requirement is returned.

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

Concatenates the new requirements onto this requirement.

Factory method to create a Version object. Input may be a Version or a String. Intended to simplify client code.

ver1 = Version.create('1.3.17')   # -> (Version object)
ver2 = Version.create(ver1)       # -> (ver1)
ver3 = Version.create(nil)        # -> nil
No documentation available

A list of authors for this gem.

Alternatively, a single author can be specified by assigning a string to ‘spec.author`

Usage:

spec.authors = ['John Jones', 'Mary Smith']

Singular (alternative) writer for authors

Usage:

spec.author = 'John Jones'
Search took: 4ms  ·  Total Results: 2230