Sha256: 2a359b3d984c96d0d6bdfcdb272c8aef8fb1e5afd532e6dbc49eea376637bb01

Contents?: true

Size: 600 Bytes

Versions: 2

Compression:

Stored size: 600 Bytes

Contents

<ul class="argument">
  <% @argument_tags.each do |tag| %>
    <li>
      <code class="argument-name"><%= h tag.unscoped_name %></code>
      <span class="argument-type"><%= tag.type %></span>
      <% if (tag.accepted_values || []).any? %>
        <span class="argument-values fade">
          <em>[ <%= tag.accepted_values.join(', ') %> ]</em>
        </span>
      <% end %>

      <% if tag.is_required %>
        <em class="argument-required">Required</em>
      <% end %>

      <% if !tag.text.empty? %>
        <%= html_markup_markdown(tag.text) %>
      <% end %>
    </li>
  <% end %>
</ul>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yard-api-0.2.2 templates/api/tags/html/argument/_list.erb
yard-api-0.2.1 templates/api/tags/html/argument/_list.erb