From: Brian Mitchell Date: 2006-10-06T23:05:41+09:00 Subject: Re: Some wierd Module#append_features behavior On 10/6/06, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Some wierd Module#append_features behavior" > on Fri, 6 Oct 2006 08:04:27 +0900, "Brian Mitchell" writes: > > |af.bind(Module).call(Module.new) # error! > | > |TypeError: wrong argument type Class (expected Module) > | > |I am kind of puzzled by this... any ideas? > > append_feature tried to append features in Module to a module from > Module.new, but Module itself is a class, not module. Yes. I know that part. The odd thing that I should have been more clear on is: af.bind(Module).call(Module). Module is a Class is both cases but this one seems to work. I am not sure why. Brian.