hacks/to_proc
module ConvertibleToProc
Mix this into a class that responds to call() to get a to_proc method to convert the object to a Proc object. You can use the resulting Proc with methods that are expecting a Proc object (such as set_trace_func).
TODO: Is it possible to send a block to the Proc?
Public Methods
to_proc()
Requires
loaders
safe_mixin