arun [email protected] writes:
I am trying to teach my students ruby and rails online, so that they
can contribute to the software we are writing for mentally challenged
kids at skid.org.in
I would love to be able to type something into an irb session on my
computer, and have my students be able to view it on their own. Is
there some cool way do do this?
You could write an IRC bot that would receive ruby expressions,
evaluate them and return the results.
You and your student could then chat with any IRC client (there are
even IRC clients usable thru the web, have a look at:
You should only take care of the security, if random people can send
random instructions to your bot computer, it may be bad. But in a
controlled environment, it’s simple enough to implement.