From: dblack@... Date: 2003-01-09T12:11:07+09:00 Subject: Re: prompt Hi -- On Thu, 9 Jan 2003, Dmitri Colebatch wrote: > oh yeah, missed a line > > > huh? so is the following really stupid: > > > > def run > > while (cmd = gets.chomp) > > print "# " > > > eval(cmd) > > end > > end > > > > ? I'm writing a simple little app to introduce myself to ruby doing > pretty > > much that... Have you tried using irb, the interactive Ruby tool? It comes with the standard Ruby distribution. David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav