Returns true if the referenced object is still alive.
Builds a temporary array and traverses that array in reverse order.
If no block is given, an enumerator is returned instead.
(1..3).reverse_each { |v| p v } produces: 3 2 1
Clear the current input line.
Returns true
if the named file is readable by the real user and group id of this process. See access(3).
Get the ‘current’ server.
In the context of execution taking place within the main thread of a dRuby server (typically, as a result of a remote call on the server or one of its objects), the current server is that server. Otherwise, the current server is the primary server.
If the above rule fails to find a server, a DRbServerNotFound
error is raised.
Get the ‘current’ server.
In the context of execution taking place within the main thread of a dRuby server (typically, as a result of a remote call on the server or one of its objects), the current server is that server. Otherwise, the current server is the primary server.
If the above rule fails to find a server, a DRbServerNotFound
error is raised.
Adds a hook that will get run before Gem::Specification.reset
is run.
Removes sessions in the internal cache that have expired at time
.
Returns a status string for the response.
Copies the nonce from request
into this response. Returns 1 on success and 0 on failure.
Return the 2 dependency objects that conflicted
Returns true
if this gem is installable for the current platform.
Returns true
if this gem is installable for the current platform.