Sha256: 237750868ec0a3dcd1e1cedfba90d730de511911a2ccdedd6b3bb0b9b0651dfa

Contents?: true

Size: 750 Bytes

Versions: 20

Compression:

Stored size: 750 Bytes

Contents

<h3><%= @label ? @label : YARD::Tags::Library.labels[@name] %>:</h3>
<ul class="<%= @name %>">
  <% object.tags(@name).each do |tag| %>
    <li>
      <% unless @no_types %>
        <span class='type'><%= format_types(tag.types) %></span>
      <% end %>
      <% unless @no_names %>
        <span class='name'><%= h tag.name %></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

20 entries across 20 versions & 1 rubygems

Version Path
yard-0.6.8 templates/default/tags/html/tag.erb
yard-0.6.7 templates/default/tags/html/tag.erb
yard-0.6.6 templates/default/tags/html/tag.erb
yard-0.6.5 templates/default/tags/html/tag.erb
yard-0.6.4 templates/default/tags/html/tag.erb
yard-0.6.3 templates/default/tags/html/tag.erb
yard-0.6.2 templates/default/tags/html/tag.erb
yard-0.6.1 templates/default/tags/html/tag.erb
yard-0.6.0 templates/default/tags/html/tag.erb
yard-0.5.8 templates/default/tags/html/tag.erb
yard-0.5.7 templates/default/tags/html/tag.erb
yard-0.5.6 templates/default/tags/html/tag.erb
yard-0.5.5 templates/default/tags/html/tag.erb
yard-0.5.4 templates/default/tags/html/tag.erb
yard-0.5.3 templates/default/tags/html/tag.erb
yard-0.5.2 templates/default/tags/html/tag.erb
yard-0.5.1p1 templates/default/tags/html/tag.erb
yard-0.5.1 templates/default/tags/html/tag.erb
yard-0.5.0 templates/default/tags/html/tag.erb
yard-0.4.0 templates/default/tags/html/tag.erb