Tuesday, December 27th, 2005
Try Ruby, Ajax style
why the lucky stiff is up to his magic again.
This time he has created Try Ruby, a place to play with Ruby via your browser.
Not only is it cool that you can just type in commands and get instant feedback, but there is integration into the browser.
For one, you can type “help” (and “help 2” etc) and the page changes below the prompt.
Recently added though is the ability to popup HTML within the page too:
require 'popup' Popup.make do h1 "Things To Do" list do p "Try out Ruby" p "Ride a tiger" p "(down River Euphrates)" end end
Now, if only I could copy/paste!





Why is the man, and this is the best online programming tutorial I’ve seen. Very cool.
Dang, Iam stuck at ‘File.open(“/Home/comics.txt”, “a”) do |f|’ and nothing moves anymore :/
damn, no IE 6 support :(
Now if someone would just apply the same idea with SSH… what a killer tool for administrating *nix boxes from Windows machines without a decent SSH client.
This is awesome. Great way to get familiar with Ruby on a beginners level.
[…] 1 – Ajaxian » Try Ruby, Ajax style (tags: web2.0 ruby ajax) […]
I am also stuck at ‘File.open(”/Home/comics.txt”, “a”) do |f|’. My prompt does not change to double dots.