[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Difference between File and FileTest?

Steve

11/11/2007 4:43:00 PM

I'm new to Ruby. I started writing some code that uses
"FileTest.directory?" and found this method also available as
"File.directory?". So, why the two methods for doing the same thing
and which should I be using? Thank you.