Class: Rage::Router::DSL
- Inherits:
-
Object
- Object
- Rage::Router::DSL
- Defined in:
- lib/rage/router/dsl.rb
Defined Under Namespace
Classes: Handler
Instance Method Summary collapse
- #draw(&block) ⇒ Object
-
#initialize(router) ⇒ DSL
constructor
A new instance of DSL.
Constructor Details
#initialize(router) ⇒ DSL
Returns a new instance of DSL.
9 10 11 |
# File 'lib/rage/router/dsl.rb', line 9 def initialize(router) @router = router end |