From: Adam Shelly Date: 2005-12-13T09:19:44+09:00 Subject: Re: Idiom wanted: do-while I was certain I had tried that.... But that works exactly the way I want. Thanks, -Adam On 12/12/05, Andy Delcambre wrote: > You can also do > irb(main):011:0> begin > irb(main):012:1* puts "Once" > irb(main):013:1> end while nil > Once > => nil > > Which is what I usually do. > > - Andy Delcambre > >