method
attributes_of
attributes_of(element)
public
Hide source
# 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