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

ruby-changes:26985

From: nobu <ko1@a...>
Date: Mon, 4 Feb 2013 11:51:02 +0900 (JST)
Subject: [ruby-changes:26985] nobu:r39037 (trunk): English.rb: no set

nobu	2013-02-04 11:50:20 +0900 (Mon, 04 Feb 2013)

  New Revision: 39037

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39037

  Log:
    English.rb: no set
    
    * lib/English.rb (English): disable setting instead of removing after set.

  Modified files:
    trunk/lib/English.rb

Index: lib/English.rb
===================================================================
--- lib/English.rb	(revision 39036)
+++ lib/English.rb	(revision 39037)
@@ -45,8 +45,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/English.rb#L45
 #  $POSTMATCH::               $'
 #  $LAST_PAREN_MATCH::        $+
 #
-module English; end
-Object.send(:remove_const, :English)
+module English end if false
 
 # The exception object passed to +raise+.
 alias $ERROR_INFO              $!

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

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