Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3915
| From | Karolis Juodele <zulupineapple@gmail.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Run time programming |
| Date | 2011-05-04 05:39 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <4a3b01fe4541e66cacac809c4625a46b@ruby-forum.com> (permalink) |
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/.
Back to comp.lang.ruby | Previous | Next — Next in thread | Find similar | Unroll thread
Run time programming Karolis Juodele <zulupineapple@gmail.com> - 2011-05-04 05:39 -0500
Re: Run time programming Roger Pack <rogerpack2005@gmail.com> - 2011-05-04 05:58 -0500
Re: Run time programming Robert Klemme <shortcutter@googlemail.com> - 2011-05-04 05:58 -0500
Re: Run time programming Brian Candler <b.candler@pobox.com> - 2011-05-05 10:41 -0500
Re: Run time programming Brian Candler <b.candler@pobox.com> - 2011-05-05 10:43 -0500
Re: Run time programming Stu <stu@rubyprogrammer.net> - 2011-05-05 15:30 -0500
Re: Run time programming Josh Cheek <josh.cheek@gmail.com> - 2011-05-05 15:58 -0500
Re: Run time programming Stu <stu@rubyprogrammer.net> - 2011-05-07 15:57 -0500
Re: Run time programming Steve Klabnik <steve@steveklabnik.com> - 2011-05-07 16:07 -0500
csiph-web