class Attribute
Includes
NodeNamespace
Defines an Element Attribute; IE, a attribute=value pair, as in: <element attribute="value"/>. Attributes can be in their own namespaces. General users of REXML will not interact with the Attribute class much.
Attributes
element
value
Methods
==
clone
element=
hash
initialize
namespace
prefix
remove
to_s
write
Attributes
element
(reader)
value
(accessor)
Methods
==
Returns
true if other is an Attribute and has the same name and value, false otherwise.
clone
element=
Returns
this attribute
Sets the element of which this object is an attribute
hash
Creates (and returns) a hash from both the name and value
initialize
Constructor.
namespace
prefix
remove
Removes this Attribute from the tree, and returns true if successfull
to_s
write
Writes this attribute (EG, puts 'key="value"' to the output)