Look at _why the lucky stiff's sandbox.  With some work it could what
you want probably.

--Jeremy

On 6/11/07, SunRaySon <sunrayson / gmail.com> wrote:
> Is there a way in which the ruby IRB interface can be restricted. I would
> like only objects defined by my application can be accessed and only some of
> the ruby in-built objects can be made available to the user.
>
> For example if I declare a class Employee then only this class should be
> available through the irb session.
>


-- 
http://www.jeremymcanally.com/

My free Ruby e-book:
http://www.humblelittlerubybook.com/book/

My blogs:
http://www.mrneighborly.com/
http://www.rubyinpractice.com/