From: Daniel Berger Date: 2007-10-16T06:51:15+09:00 Subject: Re: RubyTraits 0.1 On Oct 15, 2:15 pm, Phrogz wrote: > On Oct 15, 11:23 am, Daniel Berger wrote: > > > BTW, I uploaded some more examples here: > > >http://rubyforge.org/docman/view.php/735/2472/examples.html > > I think you have a minor typo: > > class Bar > use Mod_B, :include => [:meth_b, :meth_c] # include only 'meth_a' > and 'meth_b' > use Mod_B, :exclude => :meth_c # same net result as > above > end > > Shouldn't that be :exclude => :meth_a instead, to get the same net > result? It should be ":include => [:meth_a, :meth_b]" Fixed at http://rubyforge.org/docman/view.php/735/2472/examples.html. Thanks, Dan