From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: olddoc-public@80x24.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 9EB2D1FA58; Sat, 10 Jan 2015 03:23:18 +0000 (UTC) Date: Sat, 10 Jan 2015 03:23:18 +0000 From: Eric Wong To: olddoc-public@80x24.org Subject: [PATCH] class.rhtml: ensure space before "source" link Message-ID: <20150110032318.GA4699@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: 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 ? -- EW