templates/default/module/html/item_summary.erb in yard-0.5.6 vs templates/default/module/html/item_summary.erb in yard-0.5.7
- old
+ new
@@ -1,10 +1,10 @@
<li class="<%= @item.visibility %> <%= @item.has_tag?(:deprecated) ? 'deprecated' : '' %>">
<span class="summary_signature">
<% if @item.tags(:overload).size == 1 %>
- <%= signature(@item.tag(:overload), true, false) %>
+ <%= signature(@item.tag(:overload), true, !@item.attr_info) %>
<% else %>
- <%= signature(@item, true, false, false) %>
+ <%= signature(@item, true, false, !@item.attr_info) %>
<% end %>
<% if @item.aliases.size > 0 %>
(also: <%= @item.aliases.map {|o| h(o.name(true)) }.join(", ") %>)
<% end %>