Try Ruby from your web browser

Posted by Tom Moertel Thu, 01 Dec 2005 03:09:00 GMT

From why the lucky stiff comes Try Ruby, an interactive online Ruby tutorial that connects your web browser to a live Ruby (irb) session. As the tutorial leads you to Rubyriffic delights, you follow along via the live command line – complete with a history and support for editing keys.

It’s slick. And because it’s an honest-to-goodness interactive Ruby session, you don’t need to stick to the script. If you want to play with continuations, for example, go for it:

>> i, c = 0; puts callcc { |c| c[] }; i += 1

=> 1
>> c["hello"]
hello
=> 2
>> c["world"]
world
=> 3
>>

Do check it out: Try Ruby.

Posted in
no comments
no trackbacks
Reddit Delicious

Comments

Trackbacks

Use the following link to trackback from your own site:
http://blog.moertel.com/articles/trackback/19

(leave url/email »)

   Comment Markup Help Preview comment