geekq / workflow

Ruby finite-state-machine-inspired API for modeling workflow
MIT License
1.75k stars 207 forks source link

If/Unless Conditions #146

Closed posgarou closed 3 years ago

posgarou commented 9 years ago

It would be good if either

(1) :unless conditions were accepted (in addition to :if), or (2) workflow issued a warning/error if someone attempts to set an "unless" condition.

I'd be happy to code either of these in, if either seems like a good idea.

gerard76 commented 3 years ago

+1