Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use #description instead of #comment in HTML output

  • Loading branch information...
commit b3e23539d0ed2c4ee951a36a5f829e1b942491b3 1 parent ff55651
@fxn fxn authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/app/views/classes/show.html.erb
View
6 lib/app/views/classes/show.html.erb
@@ -85,7 +85,7 @@
<% unless constant.comment.empty? %>
<tr valign='top'>
<td>&nbsp;</td>
- <td colspan="2" class="attr-desc"><%= constant.comment.strip %></td>
+ <td colspan="2" class="attr-desc"><%= constant.description.strip %></td>
</tr>
<% end %>
<% end %>
@@ -105,7 +105,7 @@
<td class='attr-name'><%= attribute.name %></td>
<td class='attr-desc'>
<% if attribute.comment %>
- <%= attribute.comment.strip %>
+ <%= attribute.description.strip %>
<% else %>
(Not documented)
<% end %>
@@ -143,7 +143,7 @@
<% if method.comment %>
<div class="description">
- <%= method.comment.strip %>
+ <%= method.description.strip %>
</div>
<% end %>

0 comments on commit b3e2353

Please sign in to comment.
Something went wrong with that request. Please try again.