instance method
updater
Ruby on Rails 6.1.7.10
Since v3.2.22.5 PrivateSignature
updater()
No documentation comment.
Source
# File railties/lib/rails/application/routes_reloader.rb, line 29
def updater
@updater ||= begin
dirs = @external_routes.each_with_object({}) do |dir, hash|
hash[dir.to_s] = %w(rb)
end
ActiveSupport::FileUpdateChecker.new(paths, dirs) { reload! }
end
end
Defined in railties/lib/rails/application/routes_reloader.rb line 29
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Application::RoutesReloader