Returns true
if stat is a symbolic link, false
if it isn’t or if the operating system doesn’t support this feature. As File::stat
automatically follows symbolic links, symlink?
will always be false
for an object returned by File::stat
.
File.symlink("testfile", "alink") #=> 0 File.stat("alink").symlink? #=> false File.lstat("alink").symlink? #=> true
Returns true
if stat has its sticky bit set, false
if it doesn’t or if the operating system doesn’t support this feature.
File.stat("testfile").sticky? #=> false
Returns true
if key
is registered
Returns the number of referenced objects
Returns a human-readable string representation of this instruction sequence, including the label
and path
.
Returns a Gem::StubSpecification
for every installed gem
A detailed description of this gem. See also summary
Recursively walk dependencies of this spec, executing the block
for each hop.
A summary of cookie string.
This method will return the index of a field with the provided header
. The offset
can be used to locate duplicate header names, as described in CSV::Row.field()
.
A summary of fields, by header, in an ASCII compatible String
.
Shows the mode and size of this table in a US-ASCII String
.
Winds back to the beginning
Get the URI
of the remote object.
Get the URI
of the remote object.