method
build_attribute_list
v1_8_7_72 -
Show latest stable
- Class:
Generators::HtmlClass
build_attribute_list(section)public
No documentation available.
# File lib/rdoc/generators/html_generator.rb, line 686
def build_attribute_list(section)
atts = @context.attributes.sort
res = []
atts.each do |att|
next unless att.section == section
if att.visibility == :public || att.visibility == :protected || @options.show_all
entry = {
"name" => CGI.escapeHTML(att.name),
"rw" => att.rw,
"a_desc" => markup(att.comment, true)
}
unless att.visibility == :public || att.visibility == :protected
entry["rw"] << "-"
end
res << entry
end
end
res
end