guard/guard — Issue #233: Guard::Listener.select_and_init requires hash
Author: sunaku
Created: 2012-01-29 18:16:57+00:00
State: open

The `options=nil` parameter suggests that the options hash is *optional*, but Guard fails without it:

```
!?notify ~/src/tork> irb -r guard/listener 10:12AM
## ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
>> Guard::Listener.select_and_init
NoMethodError: undefined method `inject' for nil:NilClass
from /home/sunny/app/rubygems/gems/guard-1.0.0/lib/guard/listener.rb:68:in `initialize'
from /home/sunny/app/rubygems/gems/guard-1.0.0/lib/guard/listeners/linux.rb:10:in `initialize'
from /home/sunny/app/rubygems/gems/guard-1.0.0/lib/guard/listener.rb:44:in `new'
from /home/sunny/app/rubygems/gems/guard-1.0.0/lib/guard/listener.rb:44:in `select_and_init'
from (irb):1
from /usr/bin/irb:12:in `

'
```

This problem has existed since Guard v0.9.0.