Builds Marshal
quick index gemspecs.
Creates windows .bat files for easy running of commands
Creates the scripts to run the applications in the gem.
Builds the @spec gem and returns an installer for it. The built gem includes:
bin/executable lib/code.rb ext/a/mkrf_conf.rb
Find
and fetch gem name tuples that match dependency
.
If matching_platform
is false, gems for all platforms are returned.
Builds and installs the Gem::Specification
spec
into the user dir
Removes all installed gems from +@gemhome+.
private method to assemble query
from attributes
, scope
, filter
and extensions
.
Returns the service-hook, which is called on each service request (RPC) unless it’s nil
.
Sets handler
as the default-handler, which is called when no handler for a method-name is found.
handler
is a code-block.
The default-handler is called with the (XML-RPC) method-name as first argument, and the other arguments are the parameters given by the client-call.
If no block is specified the default of XMLRPC::BasicServer
is used, which raises a XMLRPC::FaultException
saying “method missing”.
Sets the content type in an HTTP
header. The type
should be a full HTTP
content type, e.g. “text/html”. The params
are an optional Hash
of parameters to add after the content type, e.g. {‘charset’ => ‘iso-8859-1’}
Find
(and return) first subnode (recursively) for which the block evaluates to true. Returns nil
if none was found.
Returns the position that self
holds in its parent’s array, indexed from 1.