From: Chad Perrin Date: 2012-02-03T11:40:20+09:00 Subject: Re: Basic Ruby performance On Fri, Feb 03, 2012 at 11:03:28AM +0900, Ryan Davis wrote: > On Feb 2, 2012, at 17:36 , Josh Cheek wrote: > > > > I usually use `meth Hash.new` instead of `meth({})` I think it looks > > cleaner. > > def meth h = {} > # ... > end > > takes care of this entirely. . . . unless you have a different default for the method's argument. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]