Skip to content

Commit

Permalink
Default route and installation
Browse files Browse the repository at this point in the history
  • Loading branch information
titanous committed Jul 27, 2010
1 parent 9c56a02 commit 7e9bc50
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions USER_GUIDE.md
Expand Up @@ -9,6 +9,10 @@ Mailman is a microframework for processing incoming email:
end
end

## Installation

Installation is as simple as `gem install mailman`.


## Routes & Conditions

Expand Down Expand Up @@ -67,6 +71,14 @@ conditions pass:
# process urgent message here
end

#### Special routes

The `default` route is a catch-all that is run if no other routes match:

default do
# process non-matching messages
end

#### Block Arguments

All captures from matchers are available as block arguments:
Expand Down

0 comments on commit 7e9bc50

Please sign in to comment.