Robert K. wrote in post #992232:
> On Tue, Apr 12, 2011 at 4:05 AM, 7stud -- <bbxx789_05ss / yahoo.com>
> wrote:
>> Something like this:
>>   end
>> end
>> end
>
> Well, basically you just exchanged Opportunities with ClassFactory
> compared to one of my examples.

Yes, that's true.

> Did
> you mean to make Opportunities inherit ClassFactory?

Yes.  I think you must have posted in the middle of one of my edits 
because Opportunities does inherit from ClassFactory.

> But IMHO there
> is no point in splitting this up.  Please note also that I made new
> classes inherit Opportunities in order for inheritance to work.
>

Yes, I noticed that, but I don't think that is a requirement.

> If we start shortening it, we should do
>
> foo = Opportunities.using(one: 1, two: 2, three: 3)
>
> i.e. get rid of the superfluous pair of curly braces. :-)
>

Good catch.

-- 
Posted via http://www.ruby-forum.com/.