From: Robert Klemme Date: 2013-04-22T06:17:48+09:00 Subject: Re: Tap method : good or bad practice ? --00151757455cdbc31a04dae57b9f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Apr 21, 2013 at 11:32 AM, Hans Mackowiak wrot= e: > Robert Klemme wrote in post #1106422: > > 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 =3D Hash.new {|h,k| k} > > Robert the Problem is the default proc, it is maybe not what he wants > because it pretend from marshaling > Why is that a problem? Do you have knowledge about the situation of S=E9bastien which other writers in this thread do not have? If not, why ar= e you claiming there is problem? Cheers robert --=20 remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ --00151757455cdbc31a04dae57b9f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Sun, Apr 21, 2013 at 11:32 AM, Hans Mackowiak = <lists@ruby-fo= rum.com> wrote:
Robert Klemme wrote in post #1106422:
> On Sun, Apr 21, 2013 at 8:43 AM, tamouse mailing lis= ts <
> tamouse.lists@gmail.com= > wrote:
>
>> There is more than one way to do things.
>
> That's true for sure. =A0Why write all the values into the Hash? = =A0Here's
> my
> take:
>
> options =3D Hash.new {|h,k| k}

Robert the Problem is the default proc, it is maybe not what he wants=
because it pretend from marshaling

Why is that a problem? =A0Do you have knowledge about th= e situation of S=E9bastien which other writers in this thread do not have? = =A0If not, why are you claiming there is problem?

Cheers

robert

--
remember.guy do |as, often| as.you_can = - without end
http://blog.rubybestpractice= s.com/
--00151757455cdbc31a04dae57b9f--