Commit Graph

2 Commits (master)

Author SHA1 Message Date
Denis Sokolov 824d69fd08 Remove global state, return rules directly
This breaks backwards compatibility.

This removes .routes because it's not intuitive what the result value
of that must be, and users are free to .map over .route themselves.

Also, .routes was never tested.

Fixes #14.
9 years ago
Tobias Peters 3fa59e012a fix for issue #11
get the keys by a simple regexp
9 years ago