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.)