Class: Rails::Application::RoutesReloader
- Inherits:
-
ActiveSupport::FileUpdateChecker
- Object
- ActiveSupport::FileUpdateChecker
- Rails::Application::RoutesReloader
- Defined in:
- railties/lib/rails/application/routes_reloader.rb
Instance Attribute Summary collapse
-
#route_sets ⇒ Object
readonly
Returns the value of attribute route_sets.
Attributes inherited from ActiveSupport::FileUpdateChecker
Instance Method Summary collapse
-
#initialize ⇒ RoutesReloader
constructor
A new instance of RoutesReloader.
- #reload! ⇒ Object
Methods inherited from ActiveSupport::FileUpdateChecker
#execute_if_updated, #updated_at
Constructor Details
#initialize ⇒ RoutesReloader
Returns a new instance of RoutesReloader.
6 7 8 9 |
# File 'railties/lib/rails/application/routes_reloader.rb', line 6 def initialize super([]) { reload! } @route_sets = [] end |
Instance Attribute Details
#route_sets ⇒ Object (readonly)
Returns the value of attribute route_sets
4 5 6 |
# File 'railties/lib/rails/application/routes_reloader.rb', line 4 def route_sets @route_sets end |