From 0e6dba40d9a7292d9a8941b0ec7cc9e057125d9a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 10 Jan 2015 03:22:02 +0000 Subject: class.rhtml: ensure space before "source" link Otherwise it gets bunched into the parameters for pure-Ruby methods --- lib/oldweb/class.rhtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/oldweb/class.rhtml b/lib/oldweb/class.rhtml index 107ce41..acf4bd7 100644 --- a/lib/oldweb/class.rhtml +++ b/lib/oldweb/class.rhtml @@ -39,10 +39,10 @@ id="<%= visibility %>-<%= type %>-<%= section.aref %>-method-details"> <%= visibility.to_s.capitalize %> <%= type.capitalize %> Methods<% methods.each do |method| %>
<%
-        if method.call_seq %><%= h method.call_seq %><%
+        if method.call_seq %><%= h method.call_seq.strip %><%
         else
-          %><%= h method.name %> <%= h method.param_seq %><%
-        end %><%= method_srclink(method) %>
<%= + %><%= h method.name %> <%= h method.param_seq.strip %><% + end %> <%= method_srclink(method) %><%= method.comment ? method.description.strip : nd %><% if method.calls_super %>Calls superclass method<%= method.superclass_method ? -- cgit v1.2.3-24-ge0c7