Inserts an child before another child @param child1 this is either an xpath or an Element
. If an Element
, child2 will be inserted before child1 in the child list of the parent. If an xpath, child2 will be inserted before the first child to match the xpath. @param child2 the child to insert @return the parent (self)
register uri against this name.
Paths in the gem to add to $LOAD_PATH
when this gem is activated.
See also require_paths=
If you have an extension you do not need to add "ext"
to the require path, the extension build process will copy the extension files into “lib” for you.
The default value is "lib"
Usage:
# If all library files are in the root directory... spec.require_path = '.'
Register the Symbol
command
as a gem command.
Unregister the Symbol
command
as a gem command.
Return a hash of predecessors. result[spec]
is an Array of gemspecs that have a dependency satisfied by the named gemspec.
Resolve the requested dependencies against the gems available via Gem.path
and return an Array of Specification objects to be activated.
Paths in the gem to add to $LOAD_PATH
when this gem is activated. If you have an extension you do not need to add "ext"
to the require path, the extension build process will copy the extension files into “lib” for you.
The default value is "lib"
Usage:
# If all library files are in the root directory... spec.require_paths = ['.']
Returns a Gem::StubSpecification
for installed gem named name
Is name
a required attribute?
Required specification attributes
DOC: This method needs documented or nodoc’d
Singular accessor for require_paths
Singular accessor for require_paths
Checks if this specification meets the requirement of dependency
.
Constructs a Gem::Resolver::DependencyRequest
from a Gem::Dependency
dep
, a from_name
and from_version
requesting the dependency and a parent
DependencyRequest
Return a download reporter object chosen from the current verbosity