Tuesday, December 27th, 2005p>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!
Posted by Dion Almaer at 8:31 am