fix multiple value handling; ref #1931

parent 7e41e2ed
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment