[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Starting IRB and interfacing with it...

Chris Bielinski

8/11/2006 10:52:00 PM

Hey,

I'm working on an IRC bot. I'd like to be able to open an IRB in a
thread or something and have everyone in the channel type in code and
the bot spit back the results. I'm pretty new to Ruby, so I was
wondering where I should start. Any ideas?

Chris

1 Answer

Timothy Goddard

8/12/2006 7:58:00 AM

0

Does it need to work via IRC? You need to be aware that there are
serious security issues with allowing other users to run executable
code on your machine. Could you just use something like Try Ruby
(http://tryruby....)?

Chris Bielinski wrote:
> Hey,
>
> I'm working on an IRC bot. I'd like to be able to open an IRB in a
> thread or something and have everyone in the channel type in code and
> the bot spit back the results. I'm pretty new to Ruby, so I was
> wondering where I should start. Any ideas?
>
> Chris