High performance engine for finding all routes which are matched with pattern
#routes ⇒ Object
Returns the value of attribute routes. #call_by_request(request) ⇒ Object
Calls routes by using request. #compile! ⇒ Object
Compiles all routes into regexps. #compiled? ⇒ Boolean
Returns true if all routes has been compiled. #find_by(request_or_env) ⇒ Object
Finds routes by using request or env. #find_by_pattern(pattern) ⇒ Object
Finds routes by using PATH_INFO. #initialize(routes) ⇒ Compiler
constructor Constructs an instance of Padrino::PathRouter::Compiler. Constructs an instance of Padrino::PathRouter::Compiler
Returns the value of attribute routes
Calls routes by using request.
Compiles all routes into regexps.
Returns true if all routes has been compiled.
Finds routes by using request or env.
Finds routes by using PATH_INFO.
© 2010–2019 Padrino
Licensed under the MIT License.
https://www.rubydoc.info/github/padrino/padrino-framework/Padrino/PathRouter/Compiler