Returns a Gem::StubSpecification
for installed gem named name
only returns stubs that match Gem.platforms
Return the latest specs, optionally including prerelease specs if prerelease
is true.
Returns an array with bindir attached to each executable in the executables
list
Returns the full path to installed gem’s bin directory.
NOTE: do not confuse this with bindir
, which is just ‘bin’, not a full path.
Returns the full path to an executable named name
in this gem.
Duplicates array_attributes
from other_spec
so state isn’t shared.
Returns the full path to this spec’s ri directory.
Is this dependency simply asking for the latest version of a gem?
Stop this server.
Has a method been included in the list of insecure methods?
The main loop performed by a DRbServer’s internal thread.
Accepts a connection from a client, and starts up its own thread to handle it. This thread loops, receiving requests from the client, invoking them on a local object, and returning responses, until the client closes the connection or a local method call fails.
Posts HTML form data to the specified URI
object. The form data must be provided as a Hash
mapping from String
to String
. Example:
{ "cmd" => "search", "q" => "ruby", "max" => "50" }
This method also does Basic Authentication iff url
.user exists. But userinfo for authentication is deprecated (RFC3986). So this feature will be removed.
Example:
require 'net/http' require 'uri' Net::HTTP.post_form URI('http://www.example.com/search.cgi'), { "q" => "ruby", "max" => "50" }
Setter for the write_timeout
attribute.