|
Re: Re: RESTful mixin, mixin repo?: msg#00026lang.ruby.camping.general
@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> |
|---|---|---|
| Previous by Date: | Re: Re: RESTful mixin, mixin repo?, Mark Fredrickson |
|---|---|
| Next by Date: | Re: RESTful mixin, mixin repo?, Adam Harper |
| Previous by Thread: | Re: Re: RESTful mixin, mixin repo?, Mark Fredrickson |
| Next by Thread: | Re: RESTful mixin, mixin repo?, Adam Harper |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |