diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-17 07:35:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-17 07:35:11 +0000 |
commit | a1bebebed1ab4e86f930e2b3c106d6dc72caf124 (patch) | |
tree | 04f0efe47aebe792138c8aa75bc1071022f35feb /golf_prelude.rb | |
parent | ae68dc034434822e9f3dcd86d52d0379ada20668 (diff) | |
download | ruby-a1bebebed1ab4e86f930e2b3c106d6dc72caf124.tar.gz |
* golf_prelude.rb (Object.const_missing): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'golf_prelude.rb')
-rw-r--r-- | golf_prelude.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/golf_prelude.rb b/golf_prelude.rb index f0c488abad..a224a5a6c7 100644 --- a/golf_prelude.rb +++ b/golf_prelude.rb @@ -13,7 +13,7 @@ class Object end def self.const_missing c - t = @@golf_hash[ [m,self.class] ] ||= matching_methods(c,constants)[0] + t = @@golf_hash[ [c,self.class] ] ||= matching_methods(c,constants)[0] t and return const_get(t) raise NameError, "uninitialized constant #{c}", caller(1) end |