<% @title = "#{@doc_instance.full_name} " %>

<%= include "partials/title", :object => @doc_instance %>

<%= layout_section('Description') %>
  <%= htmlize(@doc_instance.description) %>
<%= end_layout_section %>

<% # Iterate over the items in this section. %>

<% unless @doc_instance.respond_to?(:utilities) && @doc_instance.utilities? %>
  <%= layout_section('Utilities') %>
    <ul class="method-list">
      <% @doc_instance.utilities.each do |utility| %>  
        <li><%= auto_link_code(utility) %></li>
      <% end %>
    </ul>
  <%= end_layout_section %>
<% end %>

<%= include "partials/namespaces", :object => @doc_instance %>
<%= include "partials/classes", :object => @doc_instance %>
<% @title = "#{@doc_instance.full_name} " %>

<%= include "partials/title", :object => @doc_instance %>

<%= layout_section('Description') %>
  <%= htmlize(@doc_instance.description) %>
<%= end_layout_section %>

<% # Iterate over the items in this section. %>

<% if @doc_instance.respond_to?(:utilities) && @doc_instance.utilities? %>
  <%= layout_section('Utilities') %>
    <ul class="method-list">
      <% @doc_instance.utilities.each do |utility| %>  
        <li><%= auto_link_code(utility) %></li>
      <% end %>
    </ul>
  <%= end_layout_section %>
<% end %>

<%= include "partials/namespaces", :object => @doc_instance %>
<%= include "partials/classes", :object => @doc_instance %>
Fix conditional display of utilities.
Fix conditional display of utilities.
