From: Robert Klemme Date: 2013-04-21T17:39:54+09:00 Subject: Re: Tap method : good or bad practice ? --047d7b6d86c452980704dadae5bf Content-Type: text/plain; charset=ISO-8859-1 On Sun, Apr 21, 2013 at 8:43 AM, tamouse mailing lists < tamouse.lists@gmail.com> wrote: > There is more than one way to do things. > That's true for sure. Why write all the values into the Hash? Here's my take: options = Hash.new {|h,k| k} Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ --047d7b6d86c452980704dadae5bf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Sun, Apr 21, 2013 at 8:43 AM, tamouse mailing lists <tamo= use.lists@gmail.com> wrote:
There is more than one way to do things.

That's true for sure. =A0W= hy write all the values into the Hash? =A0Here's my take:

options =3D Hash.new {|h,k| k}

=
Kind regards

robert


--
remember.guy do |as, often| as.= you_can - without end
htt= p://blog.rubybestpractices.com/
--047d7b6d86c452980704dadae5bf--