aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/application/railties.rb
blob: 8f3a3e8bbbe5a1d5b80e4d42838b87661b92dfa1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                               
 


                                            
                     
                                             


                                  

       
   
require 'rails/engine/railties'

module Rails
  class Application < Engine
    class Railties < Rails::Engine::Railties
      def all(&block)
        @all ||= railties + engines + plugins
        @all.each(&block) if block
        @all
      end
    end
  end
end