From: "David A. Black" Date: 2004-09-20T10:24:34+09:00 Subject: Re: Method improvement request .-- Hi -- On Mon, 20 Sep 2004, Charles Hixson wrote: > There are many Ruby idioms that I'm less than totally fluent with, and > that's one of them. (I just recently figured out that if a routine has > yields, then you probably shouldn't have returns. There are lots of cases where one uses both the yielded values and the return value of the method: new_array = [1,2,3].map {|x| x * 10 } etc. David -- David A. Black dblack@wobblini.net