From: Daniel Harple Date: 2006-05-04T07:32:35+09:00 Subject: Re: mixin puzzle On May 3, 2006, at 11:59 PM, polypus wrote: > given the below, if you were not allowed to modify class X > > module N > def foo > end > end > class X > extend M > end > > would it possible for > > x = X.new module N def foo() "foo" end end class X end x = X.new class << x include N end x.foo # => "foo" -- Daniel