diff options
author | Eric Wong <e@80x24.org> | 2015-01-10 03:22:02 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-01-10 03:22:02 +0000 |
commit | 0e6dba40d9a7292d9a8941b0ec7cc9e057125d9a (patch) | |
tree | d818ef62dbae557cbdf941467b263603725b3c3b | |
parent | d1669187ac48fdf21b1b8c850c5ddda1880e1129 (diff) | |
download | olddoc-0e6dba40d9a7292d9a8941b0ec7cc9e057125d9a.tar.gz |
Otherwise it gets bunched into the parameters for pure-Ruby methods
-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 ? |