From: "Iñaki Baz Castillo" Date: 2012-05-09T20:52:22+09:00 Subject: Re: How to make a given klass to include a module 2012/5/9 Quintus : > => A > irb(main):009:0> klass.send(:include, M) > => A > irb(main):010:0> a = klass.new > => # > irb(main):011:0> a.hello > => "HELLO" > > Alternatively, if you don’t want to pollute the given class, use #extend > on the instances (which is also more clean as it doesn’t require #send). Great! I've tested that first option is much faster (more than 10 times faster) than extending each instance, so I'll go with first solution. Thanks a lot. Thanks a lot. -- Iñaki Baz Castillo