method
attributes_of
v2_2_9 -
Show latest stable
- Class:
REXML::DocType
attributes_of(element)public
No documentation available.
# File lib/rexml/doctype.rb, line 74
def attributes_of element
rv = []
each do |child|
child.each do |key,val|
rv << Attribute.new(key,val)
end if child.kind_of? AttlistDecl and child.element_name == element
end
rv
end