[Ironruby-core] include FileTest not working how I expect

Tomas Matousek Tomas.Matousek at microsoft.com
Mon Jun 7 13:11:34 EDT 2010


The difference is that in Ruby the FileTest methods are both singleton methods and private instance methods while in IronRuby they are just singleton methods.
So this is a bug in FileTest. I'll submit a fix.

Tomas

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Josh Flanagan
Sent: Monday, June 07, 2010 9:24 AM
To: Ironruby-core at rubyforge.org
Subject: [Ironruby-core] include FileTest not working how I expect

Can someone explain the different 'include' behavior outlined in this code snippet:
http://gist.github.com/396623

Is this a known difference between MRI/IronRuby in how include works?
Or is it a matter of different namespace clashes happening in IronRuby?

Can I make the code that works under MRI (calling unqualified exists?) work in IronRuby?
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list