| Class | Merb::Router::Route |
| In: |
lib/merb-core/dispatch/router/route.rb
|
| Parent: | Object |
| behavior | [R] | |
| conditional_block | [R] | |
| conditions | [R] | |
| index | [R] | |
| params | [R] | |
| segments | [R] | |
| symbol | [R] |
| conditions<Hash>: | Conditions for the route. |
| params<Hash>: | Parameters for the route. |
| behavior<Merb::Router::Behavior>: | The associated behavior. Defaults to nil. |
| &conditional_block: | A block with the conditions to be met for the route to take effect. |
Compiles the route to a form used by Merb::Router.
| first<Boolean>: | True if this is the first route in set of routes. Defaults to false. |
| String: | The code corresponding to the route in a form suited for eval. |
| params_as_string<String>: | The params hash as a string, e.g. ":foo => ‘bar’". |
| Array: | All the conditions as eval‘able strings. |
| Boolean: | True if this route is a regexp, i.e. its behavior or one of the behavior‘s ancestors is a regexp. |