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
.
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.
This method is used inside of several different objects to determine if special behavior is needed in the constructor.
Special behavior is needed if the array passed in as args
has true
or false
as its value, and if the second element of args
is a hash.
Sets IO
operations on io
to be non-blocking
Sets IO
operations on io
to be non-blocking