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