about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/oldweb/class.rhtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/oldweb/class.rhtml b/lib/oldweb/class.rhtml
index acf4bd7..9f8aec3 100644
--- a/lib/oldweb/class.rhtml
+++ b/lib/oldweb/class.rhtml
@@ -41,7 +41,9 @@ id="<%= visibility %>-<%= type %>-<%= section.aref %>-method-details">
       %><pre id="<%= method.aref %>"><b><%
         if method.call_seq %><%= h method.call_seq.strip %><%
         else
-          %><%= h method.name %> <%= h method.param_seq.strip %><%
+          %><%= h method.name %><%=
+          seq = method.param_seq
+          seq ? " #{h(seq.strip)}" : "" %><%
         end %></b> <%= method_srclink(method) %></pre><%=
           method.comment ? method.description.strip : nd %><%
         if method.calls_super %>Calls superclass method<%=