Sha256: 27c38b120539d2aacab6c73c68e1d77402c6d0232c94bad14c5597eae499d981

Contents?: true

Size: 1.92 KB

Versions: 79

Compression:

Stored size: 1.92 KB

Contents

<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, !@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 %>
  </span>
  <% if object != @item.namespace %>
    <span class="note title not_defined_here">
      <%= @item.namespace.type == :class ? 'inherited' : (@item.scope == :class ? 'extended' : 'included') %>
      from <%= linkify @item, object.relative_path(@item.namespace) %>
    </span>
  <% end %>
  <% if @item.constructor? %>
    <span class="note title constructor">constructor</span>
  <% end %>
  <% if rw = @item.attr_info %>
    <% if !run_verifier([rw[:read]].compact).empty? && run_verifier([rw[:write]].compact).empty? %>
      <span class="note title readonly">readonly</span>
    <% end %>
    <% if !run_verifier([rw[:write]].compact).empty? && run_verifier([rw[:read]].compact).empty? %>
      <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>
  <% end %>
</li>

Version data entries

79 entries across 76 versions & 10 rubygems

Version Path
kinetic_sdk-5.0.29 gems/yard-0.9.36/templates/default/module/html/item_summary.erb
kinetic_sdk-5.0.28 gems/yard-0.9.36/templates/default/module/html/item_summary.erb
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/item_summary.erb
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/item_summary.erb
direct7-0.0.16 vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/item_summary.erb
yard-0.9.37 templates/default/module/html/item_summary.erb
kinetic_sdk-5.0.27 gems/yard-0.9.36/templates/default/module/html/item_summary.erb
kinetic_sdk-5.0.26 gems/yard-0.9.36/templates/default/module/html/item_summary.erb
kinetic_sdk-5.0.25 gems/yard-0.9.25/templates/default/module/html/item_summary.erb
kinetic_sdk-5.0.24 gems/yard-0.9.25/templates/default/module/html/item_summary.erb
direct7-0.0.13 vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/item_summary.erb
yard-0.9.36 templates/default/module/html/item_summary.erb
yard-0.9.35 templates/default/module/html/item_summary.erb
direct7-0.0.12 vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/item_summary.erb
kinetic_sdk-5.0.23 gems/yard-0.9.25/templates/default/module/html/item_summary.erb
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/yard-0.9.34/templates/default/module/html/item_summary.erb
direct7-0.0.11 vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/item_summary.erb
kinetic_sdk-5.0.22 gems/yard-0.9.25/templates/default/module/html/item_summary.erb
kinetic_sdk-5.0.21 gems/yard-0.9.25/templates/default/module/html/item_summary.erb
yard-0.9.34 templates/default/module/html/item_summary.erb