The use case mentioned can be fulfilled by another feature ruby already has, if I'm not mistaken: first-class continuations. Simply have "return" be syntactic sugar for invocation of a contination that is implicitly created by a "def"-defined function. No need for a separate type of object, just add some syntactic sugar and hey presto.