Sha256: 5c5afed74bede8128eec75e9126aa2baa2a458125673439eecae965e48a821ce

Contents?: true

Size: 280 Bytes

Versions: 200

Compression:

Stored size: 280 Bytes

Contents

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

Examples:
---------

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

Version data entries

200 entries across 178 versions & 21 rubygems

Version Path
yard-0.9.13 templates/default/tags/text/example.erb
yard-0.9.12 templates/default/tags/text/example.erb
yard-0.9.11 templates/default/tags/text/example.erb
yard-0.9.10 templates/default/tags/text/example.erb
yard-0.9.9 templates/default/tags/text/example.erb
etude_for_ruby-0.1.4 vendor/bundle/ruby/2.4.0/gems/yard-0.9.8/templates/default/tags/text/example.erb
etude_for_ruby-0.1.4 vendor/bundle/ruby/2.2.0/gems/yard-0.9.8/templates/default/tags/text/example.erb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/yard-0.9.8/templates/default/tags/text/example.erb
yard-0.9.8 templates/default/tags/text/example.erb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.7/templates/default/tags/text/example.erb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.1/templates/default/tags/text/example.erb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.2/templates/default/tags/text/example.erb
yard-0.9.7 templates/default/tags/text/example.erb
yard-0.9.6 templates/default/tags/text/example.erb
enumerable-statistics-1.0.1 yard/templates/mathjax/tags/text/example.erb
my_yard-0.0.3 home_my_yard/templates/visualruby/tags/text/example.erb
my_yard-0.0.2 home_my_yard/templates/visualruby/tags/text/example.erb
yard-0.9.5 templates/default/tags/text/example.erb
yard-0.9.4 templates/default/tags/text/example.erb
yard-0.9.3 templates/default/tags/text/example.erb