Method: HTree::STag#each_attribute

Defined in:
lib/htree/tag.rb

#each_attributeObject



95
96
97
98
99
100
101
# File 'lib/htree/tag.rb', line 95

def each_attribute
  @attributes.each {|name, text|
    next if name.xmlns?
    yield name, text
  }
  nil
end