Class: Lanes::API::RouteSet
- Inherits:
-
Object
- Object
- Lanes::API::RouteSet
- Defined in:
- lib/lanes/api/routing.rb
Instance Method Summary collapse
- #draw(&block) ⇒ Object
-
#initialize(root) ⇒ RouteSet
constructor
A new instance of RouteSet.
Constructor Details
Instance Method Details
#draw(&block) ⇒ Object
10 11 12 |
# File 'lib/lanes/api/routing.rb', line 10 def draw(&block) @root.instance_eval(&block) end |