Returns true
if files may be created in the directory by STOU, STOR, APPE, and RNTO.
Returns true
if the file or directory may be renamed by RNFR.
Returns true
if the listing commands, LIST, NLST, and MLSD are applied to the directory.
Returns true
if the RETR command may be applied to the file.
Creates a new DNS
name from arg
. arg
can be:
returns the domain name as a string.
The domain name doesn’t have a trailing dot even if the name object is absolute.
Example:
p Resolv::DNS::Name.create("x.y.z.").to_s #=> "x.y.z" p Resolv::DNS::Name.create("x.y.z").to_s #=> "x.y.z"
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
.
The contents of the lock file.
True if the requested gem has already been installed.
Return the ActivationRequest
that contained the dependency that we were activated for.
The platform of this activation request’s specification
A hint run by the resolver to allow the Set
to fetch data for DependencyRequests reqs
.
Sets the remote network access for all composed sets.
Prefetches reqs
in all sets.
Prefetches specifications from the git repositories in this set.
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.