From: Jagadeesh Date: 2010-01-11T18:25:10+09:00 Subject: Re: Help On Jan 11, 12:05 pm, Jeff Peng wrote: > 在 2010-01-11一的 16:00 +0900,Jagadeesh写道: > > > Hi Jeff, > > > > > data = Hash.new do |h,k| h[k] = [] end > > > Another interesting question is, what is standard way of writing one > > liner code and multiliner > > > I read somewhere like oneliner should be written using {} > > and do ... end for multiliner > > For oneliner I just think both them are the same. > Just take the one you like to write.:) > > Jeff. ;) Yes. I will