logo       

Re: Re: RESTful mixin, mixin repo?: msg#00026

lang.ruby.camping.general

Subject: Re: Re: RESTful mixin, mixin repo?

@Mark Fredrickson : This is exactly the problems that Equipment
solves. Add "extend Equipment" in the SimpleApp module and "equip
SimpleApp" in Simpler. You'll also have to remove the models and the
routes in SimpleApp since I didn't implement the class methods and
Base.

If you want to do it on your own you'll have to solve the following problem :

include ModuleA in ModuleB. Then add some methods to ModuleA or
include another module into it. Then look in ModuleB.instance_methods.
Your new ModuleA methods should not be there.

--
Cheers,
zimbatm

http://zimbatm.oree.ch


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise