Sha256: 4fe7e11728351809c48b4f9a7a8dcfa29de781354386a87f642e85f90dceb299
Contents?: true
Size: 400 Bytes
Versions: 152
Compression:
Stored size: 400 Bytes
Contents
module Rails class Engine < Railtie class Railties include Enumerable attr_reader :_all def initialize @_all ||= ::Rails::Railtie.subclasses.map(&:instance) + ::Rails::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
152 entries across 147 versions & 12 rubygems