From: Dennis Newbold Date: 2002-05-31T02:38:15+09:00 Subject: Re: Idioms On Wed, 29 May 2002, Stephan J. Schmidt wrote: > hi, > > Could someone point me to idioms about ruby, e.g. > something shorter to > > if not hash.key?(key) > hash[key] << value > end > > for a hash of lists. And other such examples, > thanks > bye > -stephan > You might try Hal Fulton's "The Ruby Way" book. It has alot of brief code examples for things like that. Dennis