blob: 522a3a1502d981e8d1f09c7abadb73aff3d67733 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<li class="<%= @item.visibility %> <%= @item.has_tag?(:deprecated) ? 'deprecated' : '' %>">
<span class="summary_signature">
<%= fsignature(@item, true, false) %>
<% if @item.aliases.size > 0 %>
(also: <%= @item.aliases.map {|o| h(o.name(true)) }.join(", ") %>)
<% end %>
</span>
<% 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>
<% end %>
</li>
|