templates/default/module/html/attribute_summary.erb in yard-0.4.0 vs templates/default/module/html/attribute_summary.erb in yard-0.5.0

- old
+ new

@@ -1,8 +1,8 @@ -<% if attr_listing.size > 0 %> - <h2>Attribute Summary</h2> +<% scopes(attr_listing) do |list, scope| %> + <h2><%= scope.to_s.capitalize %> Attribute Summary</h2> <ul class="summary"> - <% attr_listing.each do |meth| %> + <% list.each do |meth| %> <%= yieldall :item => meth %> <% end %> </ul> <% end %>