templates/default/method_details/html/method_signature.erb in yard-0.4.0 vs templates/default/method_details/html/method_signature.erb in yard-0.5.0

- old
+ new

@@ -9,9 +9,10 @@ <%= signature(object, false) %> <% end %> <% if object.aliases.size > 0 %> <span class="aliases">Also known as: - <span class="names"><%= object.aliases.map {|o| h(o.name.to_s) }.join(", ") %></span> + <span class="names"><%= object.aliases.map {|o| + "<span id='#{anchor_for(o)}'>" + h(o.name.to_s) + "</span>" }.join(", ") %></span> </span> <% end %> </p> \ No newline at end of file