Module: Kaffe::Routes::ClassMethods
- Defined in:
- lib/kaffe/routes.rb
Instance Attribute Summary collapse
-
#routes ⇒ Object
Returns the value of attribute routes.
Instance Method Summary collapse
Instance Attribute Details
#routes ⇒ Object
Returns the value of attribute routes.
4 5 6 |
# File 'lib/kaffe/routes.rb', line 4 def routes @routes end |
Instance Method Details
#route(path, app) ⇒ Object
7 8 9 |
# File 'lib/kaffe/routes.rb', line 7 def route(path, app) routes.push [path, app] end |