On 9/5/06, Logan Capaldo <logancapaldo / gmail.com> wrote:>> On Sep 5, 2006, at 10:10 AM, Joachim (M√ľnchen) wrote:>> > my user should be able to define variables, to define functions, to> > include scripts, to hack for-loops, to iterate over arrays &c: the> > full> > functionality of irb. Is that really possible with Kernel::eval ?> > Joachim> >> >>> Of course it is. irb is built on top of eval. (irb is AFAIK, pure> ruby. Without eval it wouldn't work at all.)>yes, but by itself it is not useful. You need something like irb ontop of it to use it for user input.
Thanks
Michal