1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/application/railties.rb
2012-01-03 10:39:08 -02:00

13 lines
254 B
Ruby

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