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

- old
+ new

@@ -1,8 +1,9 @@ -<% if method_listing.size > 0 %> - <h2>Method Summary</h2> +<% scopes(method_listing) do |list, scope| %> + <h2><%= scope.to_s.capitalize %> Method Summary</h2> + <ul class="summary"> - <% method_listing.each do |meth| %> + <% list.each do |meth| %> <%= yieldall :item => meth %> <% end %> </ul> -<% end %> +<% end %> \ No newline at end of file