0
在红宝石1.8.x的,我们遍历多个可枚举这样的:syncEnumerator相当于红宝石1.9.2
require 'generator'
syncEnum = SyncEnumerator.new(enum1, enum2)
syncEnum.each { |x;y| puts "#{x},#{y}" }
但发电机已经在Ruby 1.9.x的去除,多个枚举如何Iiterate在Ruby 1.9中。X?
感谢