Method: YARD::Templates::Helpers::HtmlHelper#format_object_name_list
- Defined in:
- lib/yard/templates/helpers/html_helper.rb
#format_object_name_list(objects) ⇒ String
Formats a list of objects and links them
354 355 356 357 358 |
# File 'lib/yard/templates/helpers/html_helper.rb', line 354 def format_object_name_list(objects) objects.sort_by {|o| o.name.to_s.downcase }.map do |o| "<span class='name'>" + linkify(o, o.name) + "</span>" end.join(", ") end |