Class: Chewy::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/chewy/railtie.rb

Defined Under Namespace

Modules: MigrationStrategy Classes: RequestStrategy

Class Method Summary collapse

Class Method Details

.all_enginesObject



3
4
5
# File 'lib/chewy/railtie.rb', line 3

def self.all_engines
  Rails::Engine.subclasses.map(&:instance) + [Rails.application]
end