summaryrefslogtreecommitdiff
path: root/lib/English.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-04 02:50:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-04 02:50:20 +0000
commit9e5167c3518b8a3aef7a69305bb79ef4d7892d41 (patch)
treea4cb38b92f56d9aa79d4428b95c0230d9d339aaa /lib/English.rb
parente7d6a0481bcac20f5466f9d8fbdb5098bd2ab40a (diff)
English.rb: no set
* lib/English.rb (English): disable setting instead of removing after set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/English.rb')
-rw-r--r--lib/English.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/English.rb b/lib/English.rb
index b9e7d9c..32769fb 100644
--- a/lib/English.rb
+++ b/lib/English.rb
@@ -45,8 +45,7 @@
# $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 $!