class Rails::Application::Railties

def all(&block)

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