Created
May 10, 2010 22:19
-
-
Save joshuaflanagan/396623 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### Using ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] | |
C:\code>irb | |
irb(main):001:0> include FileTest | |
=> Object | |
irb(main):002:0> exists? 'foo' | |
=> false | |
irb(main):003:0> | |
### Using IronRuby 1.0 | |
C:\code>ir | |
IronRuby 1.0.0.0 on .NET 4.0.30319.1 | |
Copyright (c) Microsoft Corporation. All rights reserved. | |
>>> include FileTest | |
=> Object | |
>>> exists? 'foo' | |
(ir):1: undefined method `exists?' for main:Object (NoMethodError) | |
>>> FileTest.exists? 'foo' | |
=> false | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment