lib/rdoc/generator/template/rails/_context.rhtml in sdoc-0.3.20 vs lib/rdoc/generator/template/rails/_context.rhtml in sdoc-0.4.0.rc.1
- old
+ new
@@ -172,9 +172,15 @@
h aka.name
end
end.join ", " %>
</div>
<% end %>
+
+ <% if method.is_alias_for then %>
+ <div class="aka">
+ Alias for: <a href="<%= context.aref_to method.is_alias_for.path %>"><%= h method.is_alias_for.name %></a>
+ </div>
+ <% end %>
<% if method.token_stream %>
<% markup = method.sdoc_markup_code %>
<div class="sourcecode">
<%