A NamedRouteCollection instance is a collection of named routes, and also maintains an anonymous module that can be used to install helpers for the named routes.
| Public Attributes | |
|---|---|
| helpers | |
| routes | |
| Public Methods | |
|---|---|
| [] | Alias for #get |
| []= | Alias for #add |
| add | |
| clear | Alias for #clear! |
| clear! | |
| each | |
| get | |
| install | |
| length | |
| names | |
| new | |
| reset! | |
| Private Methods | |
|---|---|
| define_ |
|
| define_ |
|
| define_ |
|
| hash_ |
|
| url_ |
|
<code/>and<pre/>for code samples.