jnicklas/turnip — pull request #1 by cjkihlbom (2011-10-26 20:24:55+00:00)
Title: Optional and alternative words in step definitions

Added support for optional and alternative words in step definitions, like so:

``` ruby
step "there is/are :count monster(s)" do |count|
@monsters = Array.new(count) { Monster.new }
end
```

That will match both "there is X monster" or "there are X monsters".