From: Curtis Schofield Date: 2006-10-25T06:35:35+09:00 Subject: Re: Modules and foo > Curtis Schofield wrote: >> Two.. why, when a method is called in module Bar does the Module >> InstanceMethods in Bar not get included? >> module Blah >> def self.append_features(base) >> super >> base.extend ClassMethods >> end >> module InstanceMethods >> def visible >> end >> end > > Do you mean "class InstanceMethods"? Modules are collections, often > of classes. I'm following a pattern that Rails uses for the "Acts As" code. I don't want to muddle with the inheritance tree, i just want to mix- in methods.