Forum: Ruby Accesing core File class

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
geo s. (Guest)
on 2008-10-11 00:59
Hey , I have to deal with some classes written by someone else , and ,
in the classes they wrote , they defined a File class . How could I
access the class from Core ?
geo s. (Guest)
on 2008-10-11 01:07
Lex W. wrote:
> Hey , I have to deal with some classes written by someone else , and ,
> in the classes they wrote , they defined a File class . How could I
> access the class from Core ?

using ::File worked.
This topic is locked and can not be replied to.