Parses argument, converts and returns arg
, block
and result of conversion. Yields at semi-error condition instead of raising an exception.
see Enumerator
#with_object.
Sets the previous sibling of this child. This can be used to insert a child before some other child.
a = Element.new("a") b = a.add_element("b") c = Element.new("c") b.previous_sibling = c # => <a><b/><c/></a>
@return the XMLDecl
standalone value of this document as a String
. If no XMLDecl
has been set, returns the default setting.
Deeply clones this object. This creates a complete duplicate of this Parent
, including all descendants.
Notifies all registered listeners for event
of a status change of tuple
.
Unregister the Symbol
command
as a gem command.
Location of RubyGems.org credentials
Indicated, based on the requested domain, if local gems should be considered.
Return a list of the gem specifications in the dependency list, sorted in order so that no gemspec in the list depends on a gemspec earlier in the list.
This is useful when removing gems from a set of installed gems. By removing them in the returned order, you don’t get into as many dependency issues.
If there are circular dependencies (yuck!), then gems will be returned in order until only the circular dependents and anything they reference are left. Then arbitrary gemspecs will be returned until the circular dependency is broken, after which gems will be returned in dependency order again.
Compacts Marshal
output for the specs index data source by using identical objects as much as possible.
Ensure that the dependency is satisfied by the current installation of gem. If it is not an exception is raised.