From: Jeff Peng Date: 2010-01-11T16:05:19+09:00 Subject: Re: Help 在 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.