From: Jason Dunn Date: 2012-12-07T04:47:01+09:00 Subject: Re: Organizing code to avoid name space collision --f46d043c8070b2f0d804d0345c1b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I thought going here would work: http://www.ruby-lang.org/en/community/mailing-lists/ but even though I confirmed via email, I am still getting ruby-talk emails. On Thu, Dec 6, 2012 at 12:55 PM, Chris Hulan wrote: > see http://www.ruby-lang.org/en/community/mailing-lists/ > > you send 'unsubscribe' to ruby-talk-ctl@ruby-lang.org > > > On Thu, Dec 6, 2012 at 1:36 PM, M=C3=A1rio Luan wrote: > >> @Sergey , >> >> You may mark *ruby-talk@ruby-lang.org* as spam on your email service. >> >> Cheers! >> >> >> *M=C3=A1rio Luan* >> *Linkedin* >> *facebook.com/mariosouzaluan * >> *@mario_luan * >> *TIM (11) 59506744* >> *OI (11) 98033-5954* >> >> >> >> 2012/12/6 Sergey Zhikharev >> >>> Hello, friend >>> >>> Excuse me please, how can I unsubscribe from it? >>> >>> -- >>> With best regards, >>> S.Z >>> >>> -----Original Message----- >>> From: Robert Klemme [mailto:shortcutter@googlemail.com] >>> Sent: Thursday, December 06, 2012 2:29 PM >>> To: ruby-talk ML >>> Subject: Re: Organizing code to avoid name space collision >>> >>> On Thu, Dec 6, 2012 at 11:52 AM, Martin Hansen >>> wrote: >>> >> How is it decided which of the two is included in regular code? >>> > >>> > I decide if I want backtrack or dynamic matching in the scripts I wri= te >>> > - and include accordingly. >>> > >>> >>> I also explored your extend solution, but while that should work (I >>> didn't >>> >>> test) it means that every time I instantiate a Seq object I need to >>> >>> extend it. I could accept that for the testing files, but I think i= t >>> >>> would obfuscate the regular code that uses Seq objects. >>> >> >>> >> Not at all. You can do it in #initialize. No caller would need to >>> >> change. >>> > >>> > OK, extend is the solution. Many thanks Robert. >>> >>> You're welcome! >>> >>> Kind regards >>> >>> robert >>> >>> -- >>> remember.guy do |as, often| as.you_can - without end >>> http://blog.rubybestpractices.com/ >>> >>> >>> >> > --f46d043c8070b2f0d804d0345c1b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I thought going here would work:=C2=A0http://www.ruby-lang.org/en/community/mailing-l= ists/ but even though I confirmed via email, I am still getting ruby-ta= lk emails.


On Thu, Dec 6, 2012 at 12:55 PM, Chris H= ulan <chris.hulan@gmail.com> wrote:
see=C2=A0http://www.ruby-lang.org/en/community/mailing-lists/
you send 'unsubscribe' to=C2=A0ruby-talk-ctl@ruby-lang.org<= /a>


On Thu, Dec 6= , 2012 at 1:36 PM, M=C3=A1rio Luan <mariosouzaluan@gmail.com>= ; wrote:
@Sergey= =C2=A0,

You may mark ruby-talk@ruby-lang.org as = spam on your email service.

Cheers!<= /span>


M=C3=A1rio = Luan
TIM (1= 1) 59506744
OI (11) 98033-5954



2012/12/6 Sergey Zhikharev <s.= zhikharev@systemtele.com>
Hello, friend

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Excuse me please, how can I unsubscribe from it= ?

--
With best regards,
S.Z

-----Original Message-----
From: Robert Klemme [mailto:shortcutter@googlemail.com]
Sent: Thursday, December 06, 2012 2:29 PM
To: ruby-talk ML
Subject: Re: Organizing code to avoid name space collision

On Thu, Dec 6, 2012 at 11:52 AM, Martin Hansen <lists@ruby-forum.com> wrote:
>> How is it decided which of the two is included in regular code? >
> I decide if I want backtrack or dynamic matching in the scripts I writ= e
> - and include accordingly.
>
>>> I also explored your extend solution, but while that should wo= rk (I
didn't
>>> test) it means that every time I instantiate a Seq object I ne= ed to
>>> extend it. I could accept that for the testing files, but I th= ink it
>>> would obfuscate the regular code that uses Seq objects.
>>
>> Not at all. =C2=A0You can do it in #initialize. =C2=A0No caller wo= uld need to
>> change.
>
> OK, extend is the solution. Many thanks Robert.

You're welcome!

Kind regards

robert

--
remember.guy do |as, often| as.you_can - without end
http://blo= g.rubybestpractices.com/





--f46d043c8070b2f0d804d0345c1b--