templates/default/module/html/item_summary.erb in yard-0.5.4 vs templates/default/module/html/item_summary.erb in yard-0.5.5
- old
+ new
@@ -18,9 +18,10 @@
<% if rw[:write] && !rw[:read] %><span class="note title writeonly">writeonly</span><% end %>
<% end %>
<% if @item.visibility != :public %><span class="note title <%= @item.visibility %>"><%= @item.visibility %></span><% end %>
<% if @item.has_tag?(:abstract) %><span class="abstract note title">Abstract</span><% end %>
<% if @item.has_tag?(:deprecated) %><span class="deprecated note title">Deprecated</span><% end %>
+ <% if @item.has_tag?(:api) && @item.tag(:api).text == 'private' %><span class="private note title">Private</span><% end %>
<% if @item.has_tag?(:deprecated) %>
<span class="summary_desc"><strong>Deprecated.</strong> <%= htmlify_line @item.tag(:deprecated).text %></span>
<% else %>
<span class="summary_desc"><%= htmlify_line docstring_summary(@item) %></span>