Skip to content

Commit

Permalink
Update README to match the code.
Browse files Browse the repository at this point in the history
Update the docs to match discussion in joshbuddy#41.
  • Loading branch information
lasso committed Jun 29, 2015
1 parent 16822ea commit c9f27c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ Routes will not be recognized unless `#to` has been called on it.

Generates a route. The args can either be a hash, a list, or a mix of both.

### `#call(env or Rack::Request)`
### `#call(env)`

Recognizes and dispatches the request.
Recognizes and dispatches the request. `env` should be a Hash representing the rack environment.

### `#recognize(env or Rack::Request)`
### `#recognize(env)`

Only performs recognition.
Only performs recognition. `env` should be a Hash representing the rack environment.

0 comments on commit c9f27c5

Please sign in to comment.