Sha256: 9b88e238d50c13e5c66f767e4c3fff3b121ebf26f3c39450d360223dc7a81f5d

Contents?: true

Size: 278 Bytes

Versions: 9

Compression:

Stored size: 278 Bytes

Contents

<% if object.has_tag?(:example) %>

Examples:
---------

<% object.tags(:example).each_with_index do |tag, i| %>
<%= indent(wrap("# " + tag.name)) if tag.name %>
<%= indent(wrap(format_source(tag.text))) %>
<%= "\n" if i < object.tags(:example).size - 1 %>
<% end %>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
yard-0.5.6 templates/default/tags/text/example.erb
yard-0.5.5 templates/default/tags/text/example.erb
yard-0.5.4 templates/default/tags/text/example.erb
yard-0.5.3 templates/default/tags/text/example.erb
yard-0.5.2 templates/default/tags/text/example.erb
yard-0.5.1p1 templates/default/tags/text/example.erb
yard-0.5.1 templates/default/tags/text/example.erb
yard-0.5.0 templates/default/tags/text/example.erb
yard-0.4.0 templates/default/tags/text/example.erb