about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2015-01-10 21:29:01 +0000
committerEric Wong <normalperson@yhbt.net>2015-01-10 21:29:01 +0000
commitbc4b60e316402f5cc0320e71dae5801dad5bef6e (patch)
tree9090a78fb5a4ad1a94b54ee466dfa6b9fcd6c1c1
parent0e6dba40d9a7292d9a8941b0ec7cc9e057125d9a (diff)
downloadolddoc-bc4b60e316402f5cc0320e71dae5801dad5bef6e.tar.gz
-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<%=