Class: ActionController::Routing::Routes
- Inherits:
-
Object
- Object
- ActionController::Routing::Routes
- Defined in:
- lib/rails-upgrade/upgraders/routes.rb
Class Method Summary collapse
Class Method Details
.draw {|@redrawer| ... } ⇒ Object
313 314 315 |
# File 'lib/rails-upgrade/upgraders/routes.rb', line 313 def self.draw yield @redrawer end |
.redrawer ⇒ Object
309 310 311 |
# File 'lib/rails-upgrade/upgraders/routes.rb', line 309 def self.redrawer @redrawer end |
.setup ⇒ Object
305 306 307 |
# File 'lib/rails-upgrade/upgraders/routes.rb', line 305 def self.setup @redrawer = RailsUpgrade::Upgraders::RouteRedrawer.new end |