class REXML::Attributes
def initialize element
- +element.expanded_name+.
- +element.prefix+.
- +element.document+.
Other instance methods in class \REXML::Attributes may refer to:
attrs.object_id == ele.attributes.object_id # => false
attrs = REXML::Attributes.new(ele)
ele = REXML::Element.new('foo')
but its own attributes are not modified:
The element given by argument +element+ is stored,
Creates and returns a new \REXML::Attributes object.
new(element)
:call-seq:
def initialize element @element = element end