• <% if @item.tags(:overload).size == 1 %> <%= signature(@item.tag(:overload), true, false, !@item.attr_info) %> <% else %> <%= signature(@item, true, false, !@item.attr_info) %> <% end %> <% if @item.aliases.size > 0 %> (also: <%= @item.aliases.map {|o| h(o.name(true)) }.join(", ") %>) <% end %> <% if object != @item.namespace %> <%= @item.namespace.type == :class ? 'inherited' : (@item.scope == :class ? 'extended' : 'included') %> from <%= linkify @item, object.relative_path(@item.namespace) %> <% end %> <% if @item.constructor? %> constructor <% end %> <% if rw = @item.attr_info %> <% if !run_verifier([rw[:read]].compact).empty? && run_verifier([rw[:write]].compact).empty? %> readonly <% end %> <% if !run_verifier([rw[:write]].compact).empty? && run_verifier([rw[:read]].compact).empty? %> writeonly <% end %> <% end %> <% if @item.visibility != :public %><%= @item.visibility %><% end %> <% if @item.has_tag?(:abstract) %>abstract<% end %> <% if @item.has_tag?(:deprecated) %>deprecated<% end %> <% if @item.has_tag?(:api) && @item.tag(:api).text == 'private' %>private<% end %> <% if @item.has_tag?(:deprecated) %> Deprecated. <%= htmlify_line @item.tag(:deprecated).text %> <% else %> <%= htmlify_line docstring_summary(@item) %> <% end %>