Re: Organizing code to avoid name space collision

2012-12-06 Thread Chris Hulan
see http://www.ruby-lang.org/en/community/mailing-lists/ you send 'unsubscribe' to [email protected] On Thu, Dec 6, 2012 at 1:36 PM, Mário Luan wrote: > @Sergey , > > You may mark *[email protected]* as spam on your email service. > > Cheers! > > > *Mário Luan* > *Linkedin*

Re: Organizing code to avoid name space collision

2012-12-06 Thread Robert Klemme
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 write > - and include accordingly. > >>> I also explored your extend solution, but while that should work (

Array#concat Enumerator

2012-12-06 Thread Intransition
Shouldn't this work? [].concat("abc".chars) Seems extraneous that one would have to do: [].concat("abc".chars.to_a) -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected].

Re: Organizing code to avoid name space collision

2012-12-06 Thread Robert Klemme
On Wed, Dec 5, 2012 at 7:28 PM, Martin Hansen wrote: > I don't know if this is a design issue on my part - or how to resolve > it. The individuel test_backtrack.rb and test_dynamic.rb runs just fine. > Any script I have that utilizes one of these modules also have no issues > - because both modul