stupid naming error

This commit is contained in:
Yukihiro Matsumoto
2012-06-03 02:14:30 +09:00
parent 79ad340c44
commit 15b9d74fc7
+1 -1
View File
@@ -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]