Class

NamedRouteCollection

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_hash_access
define_named_route_methods
define_url_helper
hash_access_name
url_helper_name
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.