Class: Dre::Rails::Routes
- Inherits:
-
Object
- Object
- Dre::Rails::Routes
- Defined in:
- lib/dre/rails/routes.rb,
lib/dre/rails/routes/mapper.rb,
lib/dre/rails/routes/mapping.rb
Defined Under Namespace
Modules: Helper Classes: Mapper, Mapping
Instance Attribute Summary collapse
-
#routes ⇒ Object
Returns the value of attribute routes.
Class Method Summary collapse
Instance Method Summary collapse
- #generate_routes!(options) ⇒ Object
-
#initialize(routes, &block) ⇒ Routes
constructor
A new instance of Routes.
Constructor Details
#initialize(routes, &block) ⇒ Routes
Returns a new instance of Routes.
19 20 21 |
# File 'lib/dre/rails/routes.rb', line 19 def initialize(routes, &block) @routes, @block = routes, block end |
Instance Attribute Details
#routes ⇒ Object
Returns the value of attribute routes.
17 18 19 |
# File 'lib/dre/rails/routes.rb', line 17 def routes @routes end |