From: Joel VanderWerf Date: 2002-06-24T07:32:48+09:00 Subject: Re: Mixin using append_features and class< Also, if you want to include a module in an object's metaclass: > > module B > def foo > "foo" > end > end > > o = Object.new > class << o > include B > end > > p o.foo # "foo" Or use extend to get the same effect: module B def foo "foo" end end o = Object.new o.extend B p o.foo # "foo"