Hi guys, I was on the way of running RSpec in IronRuby. After some hacks I was able to run basic specs. However I came up to a problem that "before :each" was not called in IronRuby. After some digging I was able to find the problem. Here is a small repro: module M end class MyClass extend M end MyClass.kind_of?(M) # returns true in IRB, but false in IronRuby Regards, Stefan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080917/b8b9b610/attachment.html>
Nice catch, can you post this as a bug on the rubyforge? Thanks, JD From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Stefan Dobrev Sent: Tuesday, September 16, 2008 3:42 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] kind_of? problem Hi guys, I was on the way of running RSpec in IronRuby. After some hacks I was able to run basic specs. However I came up to a problem that "before :each" was not called in IronRuby. After some digging I was able to find the problem. Here is a small repro: module M end class MyClass extend M end MyClass.kind_of?(M) # returns true in IRB, but false in IronRuby Regards, Stefan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080916/05cd1f33/attachment.html>
Done. https://rubyforge.org/tracker/?func=detail&aid=21995&group_id=4359&atid=16798 SD 2008/9/17 Jim Deville <jdeville at microsoft.com>> Nice catch, can you post this as a bug on the rubyforge? > > > > Thanks, > > > > JD > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Stefan Dobrev > *Sent:* Tuesday, September 16, 2008 3:42 PM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] kind_of? problem > > > > Hi guys, > > I was on the way of running RSpec in IronRuby. After some hacks I was able > to run basic specs. However I came up to a problem that "before :each" was > not called in IronRuby. After some digging I was able to find the problem. > Here is a small repro: > > module M > end > > class MyClass > extend M > end > > MyClass.kind_of?(M) # returns true in IRB, but false in IronRuby > > Regards, > Stefan > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080917/4a19916d/attachment.html>
Thanks. -----Original Message----- From: Stefan Dobrev <stefan.dobrev at gmail.com> Sent: September 16, 2008 11:13 PM To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] kind_of? problem Done. https://rubyforge.org/tracker/?func=detail&aid=21995&group_id=4359&atid=16798 SD 2008/9/17 Jim Deville <jdeville at microsoft.com<mailto:jdeville at microsoft.com>> Nice catch, can you post this as a bug on the rubyforge? Thanks, JD From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Stefan Dobrev Sent: Tuesday, September 16, 2008 3:42 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: [Ironruby-core] kind_of? problem Hi guys, I was on the way of running RSpec in IronRuby. After some hacks I was able to run basic specs. However I came up to a problem that "before :each" was not called in IronRuby. After some digging I was able to find the problem. Here is a small repro: module M end class MyClass extend M end MyClass.kind_of?(M) # returns true in IRB, but false in IronRuby Regards, Stefan _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080917/e9e31473/attachment-0001.html>