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

ruby-changes:52782

From: mame <ko1@a...>
Date: Thu, 11 Oct 2018 10:03:10 +0900 (JST)
Subject: [ruby-changes:52782] mame:r64994 (trunk): prelude.rb (Kernel#pp): make it private

mame	2018-10-11 10:03:05 +0900 (Thu, 11 Oct 2018)

  New Revision: 64994

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64994

  Log:
    prelude.rb (Kernel#pp): make it private
    
    It was a bug.

  Modified files:
    trunk/prelude.rb
Index: prelude.rb
===================================================================
--- prelude.rb	(revision 64993)
+++ prelude.rb	(revision 64994)
@@ -151,4 +151,6 @@ module Kernel https://github.com/ruby/ruby/blob/trunk/prelude.rb#L151
 
   # suppress redefinition warning
   alias pp pp # :nodoc:
+
+  private :pp
 end

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

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