Save session state to the session’s PStore
file.
Raises an exception if any arguments given.
Raises an exception if argument is not present.
Parses argument if given, or uses default value.
Returns nil if argument is not present or begins with ‘-’.
Verifies if the arguments match with this key event. Nil arguments are ignored, but at least one must be passed as non-nil. To verify that no control keys were pressed, pass an empty array: ‘control_keys: []`.
Creates a new DNS
name from arg
. arg
can be:
Creates a new LOC::Size
from arg
which may be:
Creates a new LOC::Coord
from arg
which may be:
LOC::Coord
returns arg
.
String
arg
must match the LOC::Coord::Regex constant
Creates a new LOC::Alt
from arg
which may be:
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
.
Is this activation request for a development dependency?
Return the ActivationRequest
that contained the dependency that we were activated for.
The platform of this activation request’s specification
Is this dependency a development dependency?
Does this dependency request match spec
?
NOTE: match?
only matches prerelease versions when dependency
is a prerelease dependency.
The version requirement for this dependency request