mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
stupid naming error
This commit is contained in:
+1
-1
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user