If I do
require ‘x’
and there are two x.rb files somewhere on the load path, which one will
be require’d?
Thanks,
Wes
If I do
require ‘x’
and there are two x.rb files somewhere on the load path, which one will
be require’d?
Thanks,
Wes
On Dec 4, 2008, at 1:10 PM, Wes G. wrote:
If I do
require ‘x’
and there are two x.rb files somewhere on the load path, which one
will
be require’d?Thanks,
Wes
the first on that it finds while looking through the list in the load
path
-Rob
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs