Sha256: 39ae236f3c660395bed564bf865edbc52530920856e430605b78e0651d134f47

Contents?: true

Size: 991 Bytes

Versions: 13

Compression:

Stored size: 991 Bytes

Contents

<ul class="argument-listing">
  <% options[:argument_tags].each do |tag| %>
    <li class="argument-listing__argument">
      <div class="argument-listing__argument-details">
        <code class="argument-listing__argument-name"><%= h tag.name %></code>
        <span class="argument-listing__argument-type">
          <%= htmlify_tag_type(tag) %>
        </span>

        <% if Array(tag.accepted_values).any? %>
          <span class="argument-listing__argument-values">
            <span>[ <%= tag.accepted_values.join(', ') %> ]</span>
          </span>
        <% end %>

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

      <div class="argument-listing__argument-text">
        <% if !tag.text.empty? %>
          <%= html_markup_markdown(tag.text) %>
        <% else %>
          <em class="type-mute">No description provided.</em>
        <% end %>
      </div>
    </li>
  <% end %>
</ul>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
yard-api-1.1.2 templates/api/tags/html/argument/_list.erb
yard-api-1.1.1 templates/api/tags/html/argument/_list.erb
yard-api-1.1.0 templates/api/tags/html/argument/_list.erb
yard-api-1.0.1 templates/api/tags/html/argument/_list.erb
yard-api-1.0.0 templates/api/tags/html/argument/_list.erb
yard-api-0.3.7 templates/api/tags/html/argument/_list.erb
yard-api-0.3.6 templates/api/tags/html/argument/_list.erb
yard-api-0.3.5 templates/api/tags/html/argument/_list.erb
yard-api-0.3.4 templates/api/tags/html/argument/_list.erb
yard-api-0.3.3 templates/api/tags/html/argument/_list.erb
yard-api-0.3.2 templates/api/tags/html/argument/_list.erb
yard-api-0.3.1 templates/api/tags/html/argument/_list.erb
yard-api-0.3.0 templates/api/tags/html/argument/_list.erb