celluloid/celluloid — pull request #183 by halorgium (2013-03-12 08:18:24+00:00)
Title: Unify suspend in Actor.call and Actor#sleep into Celluloid.suspend

I found that there was a pattern in 2 places where the ability to suspend the current Task is checked and then 1 of 2 different things were executed.

This unifies the pattern and allows for an object to tell Celluloid how to behave depending on whether it is allowed to suspend or not.