Creates a new LOC::Size
from arg
which may be:
LOC::Size
returns arg
.
arg
must match the LOC::Size::Regex constant
Creates a new LOC::Coord
from arg
which may be:
LOC::Coord
returns arg
.
arg
must match the LOC::Coord::Regex constant
Creates a new LOC::Alt
from arg
which may be:
LOC::Alt
returns arg
.
arg
must match the LOC::Alt::Regex constant
Content: [ String text ]
Filters the supplied nodeset on the predicate(s)
| RelationalExpr
(‘<’ | ‘>’ | ‘<=’ | ‘>=’) AdditiveExpr
| AdditiveExpr
| MultiplicativeExpr
(‘*’ | S (‘div’ | ‘mod’) S) UnaryExpr
| UnaryExpr
| LocationPath
| FilterExpr
(‘/’ | ‘//’) RelativeLocationPath
Check if gem name
version version
is installed.
Block form for restricting gems to a set of platforms.
The gem dependencies platform is different from Gem::Platform
. A platform gem.deps.rb platform matches on the ruby engine, the ruby version and whether or not windows is allowed.
Matches non-windows, non-jruby implementations where X and Y can be used to match releases in the 1.8, 1.9, 2.0 or 2.1 series.
Matches non-windows C Ruby (Matz Ruby) or only the 1.8, 1.9, 2.0 or 2.1 series.
Matches 32 bit C Ruby on MinGW or only the 1.8, 1.9, 2.0 or 2.1 series.
Matches 64 bit C Ruby on MinGW or only the 1.8, 1.9, 2.0 or 2.1 series.
Matches 32 bit C Ruby on Microsoft Windows or only the 1.8, 1.9, 2.0 or 2.1 series.
Matches 64 bit C Ruby on Microsoft Windows or only the 1.8, 1.9, 2.0 or 2.1 series.
Matches JRuby or JRuby in 1.8 or 1.9 mode.
Matches Maglev
Matches non-windows Rubinius
NOTE: There is inconsistency in what environment a platform matches. You may need to read the source to know the exact details.
Block form for restricting gems to a particular set of platforms. See platform
.
True if the requested gem has already been installed.
Explanation of the conflict used by exceptions to print useful messages
Does this dependency request match spec
?
NOTE: match?
only matches prerelease versions when dependency
is a prerelease dependency.
Installing a git gem only involves building the extensions and generating the executables.
This is a null install as this specification is already installed. options
are ignored.
This is a null install as a locked specification is considered installed. options
are ignored.