Methods
E
N
R
Attributes
[RW] eager_load
[R] paths
[R] route_sets
Class Public methods
new()
# File railties/lib/rails/application/routes_reloader.rb, line 10
def initialize
  @paths      = []
  @route_sets = []
  @eager_load = false
end
Instance Public methods
execute()
# 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()
# 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!()
# File railties/lib/rails/application/routes_reloader.rb, line 16
def reload!
  clear!
  load_paths
  finalize!
ensure
  revert
end