method
attribute_of
attribute_of(element, attribute)
public
Hide source
# File lib/rexml/doctype.rb, line 84 def attribute_of element, attribute att_decl = find do |child| child.kind_of? AttlistDecl and child.element_name == element and child.include? attribute end return nil unless att_decl att_decl[attribute] end