Sha256: f6400a3e7de4265c17de4e7169325e0598ce79a97846db8c948d8f4a6bf1c446
Contents?: true
Size: 403 Bytes
Versions: 9
Compression:
Stored size: 403 Bytes
Contents
### # wxRuby3 extensions for Enumerator::Chain # Copyright (c) M.J.N. Corino, The Netherlands ### unless ::Enumerator.const_defined?(:Chain) class ::Enumerator # Simple implementation of Enumerator::Chain for Ruby versions < 2.6 # or JRuby < 9.3 class Chain < ::Enumerator def initialize(*enums) super() { |y| enums.each { |enum| enum.each { |o| y<< o } } } end end end end
Version data entries
9 entries across 9 versions & 1 rubygems