class Rails::Application::RoutesReloader

Attributes

paths[R]
route_sets[R]

Public Class Methods

new() click to toggle source
# File lib/rails/application/routes_reloader.rb, line 9
def initialize
  @paths      = []
  @route_sets = []
end

Public Instance Methods

reload!() click to toggle source
# File lib/rails/application/routes_reloader.rb, line 14
def reload!
  clear!
  load_paths
  finalize!
ensure
  revert
end