From: Daniel Schierbeck Date: 2005-12-04T12:07:36+09:00 Subject: Re: #append_features deprecated? Trans wrote: > Daniel Schierbeck wrote: >> Um, yeah. `append_features' does the actual work (appending the methods >> of a module to a class/module), `include' just calls `append_features' >> and then `included'. >> >> class Module >> def include(*mods) >> mods.each do |mod| >> mod.append_features(self) >> mod.included(self) >> end >> end >> end > > It does? Looking at the C code it seems a lot more complicated then > that. > > T. I'm sure there's more to it, but from a user's perspective I believe that's what's happening ;) Cheers, Daniel