Nice catch, can you post this as a bug on the rubyforge?

Thanks,

JD

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Dobrev
Sent: Tuesday, September 16, 2008 3:42 PM
To: ironruby-core@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@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to