fix multiple value handling; ref #1931

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-03-24 17:31:43 +09:00
parent 7e41e2ed0e
commit 53d6df3fdb
+1 -1
View File
@@ -495,7 +495,7 @@ module Enumerable
return to_enum :each_with_object unless block_given?
self.each {|*val| block.call(*val, obj) }
self.each {|*val| block.call(val.__svalue, obj) }
obj
end
end