Permalink
Browse files

Handle mixins.

  • Loading branch information...
1 parent 4cf9aa2 commit 5814039af523d91d15b7ebcc9f467fb39f5da6a8 @tobie committed May 17, 2010
Showing with 9 additions and 1 deletion.
  1. +7 −0 templates/html/partials/mixins.erb
  2. +2 −1 templates/html/section.erb
@@ -0,0 +1,7 @@
+<% if object.mixins? %>
+ <%= layout_section('Mixins') %>
+ <ul class="method-details-list">
+ <%= include "partials/short_description_list", :collection => object.mixins.sort! %>
+ </ul>
+ <%= end_layout_section %>
+<% end %>
@@ -14,4 +14,5 @@
<% end %>
<%= include "partials/namespaces", :object => @doc_instance %>
-<%= include "partials/classes", :object => @doc_instance %>
+<%= include "partials/classes", :object => @doc_instance %>
+<%= include "partials/mixins", :object => @doc_instance %>

0 comments on commit 5814039

Please sign in to comment.