[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.


-----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:

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

More information about the Ironruby-core mailing list