how to share irb session?

A

arun

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?

Thanks,
Professor Arun Mehta
 
F

F. Senault

Le 22 juillet à 10:15, arun a écrit :
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?

Dunno about cool, but if you're using *nix or cygwin, the GNU screen
utility ( http://www.gnu.org/software/screen/ ) should allow you to
share terminals (for a start, cfr
http://www.gnu.org/software/screen/manual/screen.html#Multiuser-Session
).

Fred
 
P

Pascal J. Bourguignon

arun said:
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:
http://webchat.freenode.net/ ).

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

Brian Candler

arun said:
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?

VNC
 
7

7stud --

arun said:
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?

Thanks,
Professor Arun Mehta

Instead, why not write a ruby program in a much easier to use text
editor and email it to them? irb is idiotic.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,173
Messages
2,570,939
Members
47,484
Latest member
JackRichard

Latest Threads

Top