[前][次][番号順一覧][スレッド一覧]

ruby-changes:56068

From: Nobuyoshi <ko1@a...>
Date: Mon, 10 Jun 2019 21:46:39 +0900 (JST)
Subject: [ruby-changes:56068] Nobuyoshi Nakada: 880204cf55 (trunk): irb/cmd/help.rb: return nil after the redefinition

https://git.ruby-lang.org/ruby.git/commit/?id=880204cf55

From 880204cf55813c975f3bbd0be93b292a099d5890 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 10 Jun 2019 21:45:46 +0900
Subject: irb/cmd/help.rb: return nil after the redefinition


diff --git a/lib/irb/cmd/help.rb b/lib/irb/cmd/help.rb
index 10ec134..0629479 100644
--- a/lib/irb/cmd/help.rb
+++ b/lib/irb/cmd/help.rb
@@ -36,6 +36,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/cmd/help.rb#L36
           end
           nil
         end
+        nil
       ensure
         execute(*names)
       end
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]