Class: Rails::Application::Railties

Inherits:
Engine::Railties show all
Defined in:
railties/lib/rails/application/railties.rb

Instance Method Summary collapse

Methods inherited from Engine::Railties

engines, #initialize, #plugins, railties

Constructor Details

This class inherits a constructor from Rails::Engine::Railties

Instance Method Details

#all(&block) ⇒ Object



6
7
8
9
10
# File 'railties/lib/rails/application/railties.rb', line 6

def all(&block)
  @all ||= railties + engines + plugins
  @all.each(&block) if block
  @all
end