Sha256: c09a06d8c51f28863f0270827af61b789bc2d2a8ea6937ebc4d3ff4d1eb78ef9
Contents?: true
Size: 428 Bytes
Versions: 15
Compression:
Stored size: 428 Bytes
Contents
# frozen_string_literal: true module Jets class Engine < Turbine class Turbines include Enumerable attr_reader :_all def initialize @_all ||= ::Jets::Turbine.subclasses.map(&:instance) + ::Jets::Engine.subclasses.map(&:instance) end def each(*args, &block) _all.each(*args, &block) end def -(others) _all - others end end end end
Version data entries
15 entries across 15 versions & 1 rubygems