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 | c3090843034735b9624313963648d52246386cd7 (patch) | |
| tree | 04f0efe47aebe792138c8aa75bc1071022f35feb | |
| parent | 0379ef04899535b6fad44de170c42b98b9b845ae (diff) | |
| download | ruby-c3090843034735b9624313963648d52246386cd7.tar.gz ruby-c3090843034735b9624313963648d52246386cd7.tar.xz ruby-c3090843034735b9624313963648d52246386cd7.zip | |
* golf_prelude.rb (Object.const_missing): fixed typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -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 f0c488aba..a224a5a6c 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 |
