Sha256: 04fe15de4ea6679fc81b581b2882f7b783152eea3f608efaef9750d27216a369
Contents?: true
Size: 592 Bytes
Versions: 14
Compression:
Stored size: 592 Bytes
Contents
<% if object.has_tag?(:enum) %> <% object.parameters.each do |param, default| %> <% tags = object.tags(:enum).select {|x| x.name.to_s == param.to_s.sub(/^\*+|:$/, '') } %> <% next if tags.empty? %> <p class="tag_title">Enum Options (<tt><%= param %></tt>):</p> <ul class="option"> <% for tag in tags %> <li> <span class="name"><%= tag.pair.name %></span> <% if tag.pair.text && tag.pair.text =~ /\S/ %> — <%= htmlify_line(tag.pair.text) %> <% end %> </li> <% end %> </ul> <% end %> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems