mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Revert "mruby-enum-ext (cycle): need to splat block parameters; #6508"
This reverts commit 6c4b799b42.
This commit is contained in:
@@ -670,7 +670,7 @@ module Enumerable
|
||||
return nil if ary.empty?
|
||||
|
||||
while n < 0 || 0 < (n -= 1)
|
||||
ary.each do |*i|
|
||||
ary.each do |i|
|
||||
yield(*i)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user