RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

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.

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!