Sha256: b59eeb661327356d908feacea740cbe801ae8089532b96974306fdc8abe5b4c7
Contents?: true
Size: 431 Bytes
Versions: 197
Compression:
Stored size: 431 Bytes
Contents
# frozen_string_literal: true 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
197 entries across 184 versions & 13 rubygems