True when the gem has been activated
The path to the data directory for this gem.
Platform of the gem
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
Create on demand parser.
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.
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
Checks that the specification contains all required fields, and does a very basic sanity check.
Raises InvalidSpecificationException if the spec does not pass the checks.
Returns a Cat
object, for the given filenames
Returns a Concat
object, for the given jobs