Commit c2ad8098 authored by Jun Hiroe's avatar Jun Hiroe

Support multiple values in Enumerable#zip

parent 68695d17
......@@ -631,9 +631,9 @@ module Enumerable
def zip(*arg)
ary = []
i = 0
self.each do |val|
self.each do |*val|
a = []
a.push(val)
a.push(val.__svalue)
idx = 0
while idx < arg.size
a2 = arg[idx].to_a
......
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