Class: RailsUpgrade::Upgraders::FakeSingletonResourceRoute

Inherits:
FakeResourceRoute show all
Defined in:
lib/rails-upgrade/upgraders/routes.rb

Instance Attribute Summary

Attributes inherited from FakeResourceRoute

#children, #name

Instance Method Summary collapse

Methods inherited from FakeResourceRoute

#<<, #custom_methods, #generate_custom_methods_for, #initialize, #last, #to_route_code

Methods inherited from RouteObject

#indent_lines, #opts_to_string

Constructor Details

This class inherits a constructor from RailsUpgrade::Upgraders::FakeResourceRoute

Instance Method Details

#route_methodObject



276
277
278
# File 'lib/rails-upgrade/upgraders/routes.rb', line 276

def route_method
  "resource"
end