From: arcadiorubiogarcia@... Date: 2007-11-10T05:40:12+09:00 Subject: Re: Information Hiding Ok, thanks a lot for the tips. On 9 nov, 19:07, Ryan Davis wrote: > On Nov 9, 2007, at 09:41 , Robert Klemme wrote: > > > 2007/11/9, arcadiorubiogar...@gmail.com > > : > >> a return nil? def bar(p); @a << p; return nil; end > > > In this case I'd do > > > def bar(x) > > @a << x > > self > > end > > Follow this advice. > > > use.inject do |as, often| as.you_can - without end > > Ignore this advice.