From: Daniel Brumbaugh Keeney Date: 2008-02-02T05:26:27+09:00 Subject: Re: DRB+Mixin, a defect or an usage error? On Feb 1, 2008 2:24 PM, Daniel Brumbaugh Keeney wrote: > 2008/1/31 yangpeng : > > > > yeah, then how can I report this defect, if it is a defect? > > I've spent some more time looking through the various Ruby test > suites, but I can't find any tests for this behavior. It's definitely > a bug. I believe the bug report for this should go to > http://rubyforge.org/tracker/?func=add&group_id=426&atid=1698 > under the category "Misc / Other Standard Library" > > The issue seems to be that DRb is including the client version of > modules if it is available, whereas it should always include the > server one. To use RSpec in your example: > info.kind_of?(TestModule1).should be_false > > or generically info.class.included_modules.should == [Kernel] Daniel Brumbaugh Keeney blast, tabs don't do the same thing in browsers they do in text editors