RESTful mixin, mixin repo?

Jonas Pfenniger zimba.tm at gmail.com
Mon Nov 20 02:46:24 EST 2006


@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


More information about the Camping-list mailing list