diff options
-rw-r--r-- | lib/oldweb/class.rhtml | 6 |
1 files 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</h3><% methods.each do |method| %><pre id="<%= method.aref %>"><b><% - 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 %></b><%= method_srclink(method) %></pre><%= + %><%= h method.name %> <%= h method.param_seq.strip %><% + end %></b> <%= method_srclink(method) %></pre><%= method.comment ? method.description.strip : nd %><% if method.calls_super %>Calls superclass method<%= method.superclass_method ? |