Re: Organizing code to avoid name space collision

2012-12-06 Thread Chris Hulan
gt;> mob.: +380 67 500-60-40 >> >> -- >> С уважением, >> Жихарев Сергей, >> "СИСТЕМ ТЕЛЕКОМ" >> тел.: +380 44 491-21-08 >> моб.: +380 67 500-60-40 >> >> >> -Original Message- >> From: Robert Klemme [mailto:shortcut...@googlema

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 (

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

Re: Organizing code to avoid name space collision

2012-12-05 Thread Robert Klemme
On Wed, Dec 5, 2012 at 12:17 PM, Martin Hansen wrote: > I need some hints to organize my code, so I avoid name space collision > of the method patmatch() - which happens when I run the unit test suite. > > The layout of my code is here: > > http://pastie.org/5483165 It depends on the lifetime of