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
Nice catch, can you post this as a bug on the rubyforge?
Thanks,
JD
From: [email protected]
[mailto:[email protected]] On Behalf Of Stefan D.
Sent: Tuesday, September 16, 2008 3:42 PM
To: [email protected]
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