From: "Hal E. Fulton" Date: 2002-06-23T05:03:49+09:00 Subject: Re: What do you think of this idiom? ----- Original Message ----- From: "ts" To: "ruby-talk ML" Cc: Sent: Saturday, June 22, 2002 10:52 AM Subject: Re: What do you think of this idiom? > there is a stupid way to write it, without rescue > > begin > print prompt > str = gets.chomp > end until yield(str) or puts error More and more interesting. I'd never have thought of that. Thanks, Hal Fulton