class HTree::Elem::Loc
Public Instance Methods
# File htree/loc.rb, line 357 def each_attribute @node.each_attribute {|attr_name, attr_text| attr_loc = get_subnode(attr_name) yield attr_name, attr_loc } end
each_attribute iterates over each attributes.
Source
# File htree/loc.rb, line 352 def element_name() @node.element_name end
element_name returns the name of the element name as a Name object.
Source
# File htree/loc.rb, line 354 def empty_element?() @node.empty_element? end