Skip to content

Commit

Permalink
Remove debug code from PDoc template.
Browse files Browse the repository at this point in the history
  • Loading branch information
savetheclocktower committed Jun 14, 2009
1 parent 16b69a2 commit 1f78f7e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions templates/html/partials/short_description.erb
Expand Up @@ -22,9 +22,6 @@
<% end %>
<% end %>
<!-- <pre><code><%= object.class.to_s %></code></pre> -->
<!-- <pre><code><%= object.methods.join("\n") %></code></pre> -->

<%= htmlize(object.description) %>
<% # Does it have an alias? %>
Expand All @@ -42,13 +39,10 @@
<p class="related-to">Related to:
<%= auto_link_code(object.related_to, false) %></p>
<% end %>
<% # Is it methodized? %>
<% if object.is_a?(Documentation::Method) && object.methodized? %>
<p class="note">This method can be called <em>either</em> as an instance method <em>or</em> as a generic method. If calling as a generic, pass the instance in as the first argument.</p>
<% end %>



</li>

0 comments on commit 1f78f7e

Please sign in to comment.