On Jul 20, 2010, at 8:07 , James O’Brien wrote:
Yep yep silly me… THANKS everyone!
And THAT is why I personally quit using File a long time ago. I
encourage you to take a close look at Pathname, which I found put the
various methods where I thought they should have been in the first
myFile = Pathname.new("/some/path/to/file.ext")
.delete, .dirname, .atime, .executable?, .exists?, .extname, and on and
on are properties of specific files, so having the methods on the
instance, instead of the class, just makes all kinds of sense to me.
Pathname only has three class methods, including new. Vastly more
intuitive to me.