diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-06-03 02:14:30 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-06-03 02:14:30 +0900 |
| commit | 15b9d74fc7d043a6e62eecbbca14a4c2f89bfcb6 (patch) | |
| tree | 3955ec0cdec5e5aa3a9548bd39f0d60c6fbb591e /mrblib | |
| parent | 79ad340c44f0521f96eb87252784df1a762e5869 (diff) | |
| download | mruby-15b9d74fc7d043a6e62eecbbca14a4c2f89bfcb6.tar.gz mruby-15b9d74fc7d043a6e62eecbbca14a4c2f89bfcb6.zip | |
stupid naming error
Diffstat (limited to 'mrblib')
| -rw-r--r-- | mrblib/hash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrblib/hash.rb b/mrblib/hash.rb index dc85c8f5e..7b7b3f8ac 100644 --- a/mrblib/hash.rb +++ b/mrblib/hash.rb @@ -110,7 +110,7 @@ class Hash end # 1.9 Hash#select! returns Hash; ISO says nothing. - def reject!(&b) + def select!(&b) keys = [] self.each_key{|k| v = self[k] |
