Using frame_binding for great evil
After a discussion with a coworker, I decided to see if it was possible to extend Symbol#to_proc
to invoke local methods (only for fun!). I discovered frame_binding
from Ruby 2.0’s RubyVM::DebugInspector
while hacking something together.
Post a comment