From: Karolis Juodele Date: 2011-05-04T19:39:52+09:00 Subject: Run time programming Hi all, How can I run ruby code from my ruby program? Let's say I have a program with a text box. In that text box user writes a ruby function. I want the program to call that function in such way that this function would have access to the classes and variables in the main program. How can this be done? I imagine that since Ruby is interpreted dynamically adding code shouldn't be much of a problem. But then I just started learning Ruby and have no idea how this could work.. Thanks for your replies. -- Posted via http://www.ruby-forum.com/.