Sha256: f2950f613299bc08b53bdbf8215e46f240f1abf716a8eba1d7ea291c7c6c91a3

Contents?: true

Size: 599 Bytes

Versions: 145

Compression:

Stored size: 599 Bytes

Contents

<% if object.has_tag?(:option) %>
<% object.parameters.each do |param, default| %>
<% tags = object.tags(:option).select {|x| x.name.to_s == param.to_s } %>
<% next if tags.empty? %>
Options Hash (<%= param %>):
--------------<%= hr(param.to_s.length) %>--

<% for tag in tags %>
<% text = "" %>
<% text += format_types(tag.pair.types || ['Object']) %>
<% text += " " + tag.pair.name.to_s %>
<% if tag.pair.defaults %>
<% text += " - default: " + tag.pair.defaults.join(", ") %>
<% end %>
<% text += " - " + tag.pair.text if tag.pair.text %>
<%= indent(wrap(text)) %>

<% end %>
<% end %>
<% end %>

Version data entries

145 entries across 125 versions & 13 rubygems

Version Path
enumerable-statistics-2.0.7 yard/templates/mathjax/tags/text/option.erb
enumerable-statistics-2.0.6 yard/templates/mathjax/tags/text/option.erb
enumerable-statistics-2.0.5 yard/templates/mathjax/tags/text/option.erb
enumerable-statistics-2.0.3 yard/templates/mathjax/tags/text/option.erb
enumerable-statistics-2.0.2 yard/templates/mathjax/tags/text/option.erb
enumerable-statistics-2.0.1 yard/templates/mathjax/tags/text/option.erb
enumerable-statistics-2.0.0 yard/templates/mathjax/tags/text/option.erb
enumerable-statistics-2.0.0.pre yard/templates/mathjax/tags/text/option.erb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.2/templates/default/tags/text/option.erb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.1/templates/default/tags/text/option.erb
enumerable-statistics-1.0.1 yard/templates/mathjax/tags/text/option.erb
my_yard-0.0.3 home_my_yard/templates/visualruby/tags/text/option.erb
my_yard-0.0.2 home_my_yard/templates/visualruby/tags/text/option.erb
yard-0.9.5 templates/default/tags/text/option.erb
yard-0.9.4 templates/default/tags/text/option.erb
yard-0.9.3 templates/default/tags/text/option.erb
yard-0.9.2 templates/default/tags/text/option.erb
yard-0.9.1 templates/default/tags/text/option.erb
my_yard-0.0.1 home_my_yard/templates/visualruby/tags/text/option.erb
yard-0.9.0 templates/default/tags/text/option.erb