mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
13 lines
254 B
Ruby
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
|