[Ironruby-core] kind_of? problem

Stefan Dobrev stefan.dobrev at gmail.com
Tue Sep 16 18:42:01 EDT 2008


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>


More information about the Ironruby-core mailing list