Sha256: 6eaa026d9b21a757e9964bc356c52930d279fbcd0286d668323ab567c9c6f8b7

Contents?: true

Size: 788 Bytes

Versions: 17

Compression:

Stored size: 788 Bytes

Contents

<p class="tag_title"><%= (defined?(@label) && @label) ? @label : YARD::Tags::Library.labels[@name] %>:</p>
<ul class="<%= @name %>">
  <% object.tags(@name).each do |tag| %>
    <li>
      <% unless @no_names %>
        <span class='name'><%= h tag.name %></span>
      <% end %>
      <% unless @no_types %>
        <span class='type'><%= format_types(tag.types) %></span>
      <% end %>
      <% if @name == :param && (o=object.parameters.assoc(tag.name.to_s)) && o[1] %>
        <em class="default">(defaults to: <tt><%= h o[1] %></tt>)</em>
      <% end %>
      <% if tag.text && !tag.text.empty? %>
        <% unless (@no_types || tag.types.nil? || tag.types.empty?) && @no_names %>&mdash;<% end %>
        <%= htmlify_line(tag.text) %>
      <% end %>
    </li>
  <% end %>
</ul>

Version data entries

17 entries across 16 versions & 4 rubygems

Version Path
yard-0.9.20 templates/default/tags/html/tag.erb
yard-0.9.19 templates/default/tags/html/tag.erb
yard-0.9.16 templates/default/tags/html/tag.erb
yard-0.9.15 templates/default/tags/html/tag.erb
yard-0.9.14 templates/default/tags/html/tag.erb
yard-0.9.13 templates/default/tags/html/tag.erb
yard-0.9.12 templates/default/tags/html/tag.erb
yard-0.9.11 templates/default/tags/html/tag.erb
yard-0.9.10 templates/default/tags/html/tag.erb
yard-0.9.9 templates/default/tags/html/tag.erb
etude_for_ruby-0.1.4 vendor/bundle/ruby/2.4.0/gems/yard-0.9.8/templates/default/tags/html/tag.erb
etude_for_ruby-0.1.4 vendor/bundle/ruby/2.2.0/gems/yard-0.9.8/templates/default/tags/html/tag.erb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/yard-0.9.8/templates/default/tags/html/tag.erb
yard-0.9.8 templates/default/tags/html/tag.erb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.7/templates/default/tags/html/tag.erb
yard-0.9.7 templates/default/tags/html/tag.erb
yard-0.9.6 templates/default/tags/html/tag.erb