[Ironruby-core] kind_of? problem

Jim Deville jdeville at microsoft.com
Tue Sep 16 19:07:28 EDT 2008

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



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

class MyClass
  extend M

MyClass.kind_of?(M) # returns true in IRB, but false in IronRuby

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080916/05cd1f33/attachment.html>

More information about the Ironruby-core mailing list