Rails::Application::RoutesReloader Ruby on Rails 5.1.2 Class Rails::Application::RoutesReloader < Object railties/lib/rails/application/routes_reloader.rb Methods E execute, execute_if_updated N new R reload! Attributes [RW] eager_load [R] paths [R] route_sets Class Public methods new() Link Source: show | on GitHub # File railties/lib/rails/application/routes_reloader.rb, line 10 def initialize @paths = [] @route_sets = [] @eager_load = false end Instance Public methods execute() Link Source: show | on GitHub # File railties/lib/rails/application/routes_reloader.rb, line 24 def execute ret = updater.execute route_sets.each(&:eager_load!) if eager_load ret end execute_if_updated() Link Source: show | on GitHub # File railties/lib/rails/application/routes_reloader.rb, line 30 def execute_if_updated if updated = updater.execute_if_updated route_sets.each(&:eager_load!) if eager_load end updated end reload!() Link Source: show | on GitHub # File railties/lib/rails/application/routes_reloader.rb, line 16 def reload! clear! load_paths finalize! ensure revert end