Someone (Ben?) asked at the last meeting about finding the calling method's Binding. I happened to stumble upon this today; http://extensions.rubyforge.org/rdoc/index.html . Check out the Binding extension. Is this what you were looking for?

Pardon my ignorance but will the parent binding still be valid, having exited and restarted irb like what was shown in the demo? Or was the intent simply to reach back into the main irb Binding of the one and the same irb session from a method defined in .irbrc?

Peter, Ruby newbie

_______________________________________________
PDXRuby mailing list
[email protected]
IRC: #pdx.rb on irc.freenode.net
http://lists.pdxruby.org/mailman/listinfo/pdxruby

Reply via email to