From: "Ara.T.Howard" Date: 2005-09-07T22:51:29+09:00 Subject: Re: Poetry Jam 05: A Ruby Octet On Wed, 7 Sep 2005, Trans wrote: > > Ara.T.Howard wrote: >> On Wed, 7 Sep 2005, Devin Mullins wrote: >> >>> Jacob Fugal wrote: >>> >>>> Well, they don't have to be verified to produce a certain output... >>>> simply that they compile as valid ruby code. That's as easy as >>>> select-copy from the browser, then in a terminal: >>>> >>>> $ ruby >>>> >>>> CTRL-D >>>> >>> Actually, even easier. Since I was nice enough to include __END__ after each >>> poem, just include that in your paste, and Ruby treats it like a CTRL-D. >> >> or, even easier if you use a mailer that has vim for it's editor: select the >> lines visually (using 'shift-v' and the arrow or movement (jkl;) keys), then >> type ':!ruby'. this will replace the poem source with it's output - all >> without a mouse or leaving your mailer. >> >> ;-) > > What mailer do you use? pine and/or mutt. both support alternate editors. cheers. -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | Your life dwells amoung the causes of death | Like a lamp standing in a strong breeze. --Nagarjuna ===============================================================================