Module: Rack::Mount

### Home Classes Methods

### In Files

- lib/rack/mount/analysis/histogram.rb
- lib/rack/mount/analysis/splitting.rb
- lib/rack/mount/code_generation.rb
- lib/rack/mount/generatable_regexp.rb
- lib/rack/mount/multimap.rb
- lib/rack/mount/prefix.rb
- lib/rack/mount/regexp_with_named_groups.rb
- lib/rack/mount/route.rb
- lib/rack/mount/route_set.rb
- lib/rack/mount/strexp/parser.rb
- lib/rack/mount/strexp.rb
- lib/rack/mount/utils.rb
- lib/rack/mount/version.rb
- lib/rack/mount.rb

### Namespace

- MODULE Rack::Mount::Analysis
- MODULE Rack::Mount::Utils
- CLASS Rack::Mount::GeneratableRegexp
- CLASS Rack::Mount::RegexpWithNamedGroups
- CLASS Rack::Mount::Route
- CLASS Rack::Mount::RouteSet
- CLASS Rack::Mount::RoutingError
- CLASS Rack::Mount::Strexp
- CLASS Rack::Mount::StrexpParser

### Class/Module Index

Quicksearch

- Rack
- Rack::Mount
- Rack::Mount::Analysis
- Rack::Mount::Analysis::Splitting
- Rack::Mount::Analysis::Splitting::Key
- Rack::Mount::GeneratableRegexp
- Rack::Mount::GeneratableRegexp::InstanceMethods
- Rack::Mount::RegexpWithNamedGroups
- Rack::Mount::Route
- Rack::Mount::RouteSet
- Rack::Mount::RoutingError
- Rack::Mount::Strexp
- Rack::Mount::StrexpParser
- Rack::Mount::StrexpParser::ScanError
- Rack::Mount::Utils
- Regin
- Regin::Alternation
- Regin::Anchor
- Regin::Atom
- Regin::Character
- Regin::CharacterClass
- Regin::Collection
- Regin::Expression
- Regin::Group
- Regin::Options
- Regin::Parser
- Regin::Parser::ScanError

No matching classes.

# Rack::Mount

A stackable dynamic tree based Rack router.

Rack::Mount supports Rack's Cascade style of trying several routes until it finds one that is not a 404. This allows multiple routes to be nested or stacked on top of each other. Since the application endpoint can trigger the router to continue matching, middleware can be used to add arbitrary conditions to any route. This allows you to route based on other request attributes, session information, or even data dynamically pulled from a database.

### Constants

RegexpWithNamedGroups
Version

[Validate]

Generated with the Darkfish Rdoc Generator 2.