master/lib
Michael Kessler e33f5df518 Make Guard implementation of :task_has_failed simple.
This change makes sure that Guard implementation can just
`throw :task_has_failed` without knowing whether the enclosing
group has enabled :halt_on_fail.

The problem with throw/catch is, that when you throw a :symbol,
you'll have to catch it, otherwise you get a 'uncatched throw' error.

When the Guard group has not enabled :halt_on_fail, we catch the throw
when execute the supervised task.
2011-09-30 18:35:04 +02:00
..
guard Update wrong doc example. [ci skip] 2011-09-30 12:13:50 +02:00
guard.rb Make Guard implementation of :task_has_failed simple. 2011-09-30 18:35:04 +02:00