Sha256: aca33e6a81aa3fde98f9c77cffafc6ee6b2d5493d88eba80ec257b210d363c50

Contents?: true

Size: 466 Bytes

Versions: 24

Compression:

Stored size: 466 Bytes

Contents

<% if @collection && !@collection.empty? %>
<div class="tags">
  <p class="tag_title"><%= @title %></p>
  <ul>

  <% if @collection.is_a?(Hash) %>
    <% @collection.each do |key, value| %>
      <li><tt><%= key %> &mdash; <%= value %></tt></li>
    <% end %>
  <% elsif @collection.is_a?(Array) %>
    <% @collection.each do |kvps| %>
      <li><tt><%=  kvps.map{|k,v| "#{k} &mdash; #{v}"}.join(', ') %></tt></li>
    <% end %>
  <% end %>
  </ul>
</div>
<% end %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
puppet-strings-4.1.3 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-4.1.2 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-4.1.1 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-4.1.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-4.0.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-4.0.0.rc.1 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-3.0.1 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-3.0.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-2.9.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-2.8.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-2.7.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-2.6.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-2.5.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-2.4.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-2.3.1 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-2.3.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-2.2.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-2.1.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-2.0.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb
puppet-strings-1.2.1 lib/puppet-strings/yard/templates/default/puppet_provider/html/collection.erb