Results for: "module_function"

Removes an attribute

key

either an Attribute or a String. In either case, the attribute is found by matching the attribute name to the argument, and then removed. If no attribute is found, no action is taken.

Returns

the attribute removed, or nil if this Element did not contain a matching attribute

e = Element.new('E')
e.add_attribute( 'name', 'Sean' )             #-> <E name='Sean'/>
r = e.add_attribute( 'sur:name', 'Russell' )  #-> <E name='Sean' sur:name='Russell'/>
e.delete_attribute( 'name' )                  #-> <E sur:name='Russell'/>
e.delete_attribute( r )                       #-> <E/>

Removes multiple elements. Filters for Element children, regardless of XPath matching.

xpath

all elements matching this String path are removed.

Returns

an Array of Elements that have been removed

doc = Document.new '<a><c/><c/><c/><c/></a>'
deleted = doc.elements.delete_all 'a/c' #-> [<c/>, <c/>, <c/>, <c/>]

Deletes all attributes matching a name. Namespaces are significant.

name

A String; all attributes that match this path will be removed

Returns

an Array of the Attributes that were removed

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Creates a Rinda::Tuple for ary.

Removes dead tuples.

No documentation available

Set @@default_parser to new_value if it is one of the available parsers. Else raise NotValidXMLParser error.

return the tag_names for setters associated with uri

No documentation available
No documentation available

Override to display the default values of the command options. (similar to arguments, but displays the default values).

For example:

def defaults_str
  --no-gems-first --no-all
end
No documentation available

Handle the command arguments.

Return an Array of Specifications contained within the gem_home we’ll be installing into.

The location of the spec file that is installed.

Verifies the files of the gem

Return the default Gem path

File Fetcher. Dispatched by fetch_path. Use it instead.

Search took: 7ms  ·  Total Results: 3605