Hi,
Is it possible to find out the full path of all the files that have
been required within a currently running script?
Aidy
Hi,
Is it possible to find out the full path of all the files that have
been required within a currently running script?
Aidy
oops - ignore that other post, i meant
puts $LOADED_FEATURES.map{|path| File.expand_path path}
sorry bout that...
On May 30, 2008, at 9:39 AM, aidy wrote:
Hi,
Is it possible to find out the full path of all the files that have
been required within a currently running script?Aidy
--
we can deny everything, except that we have the possibility of being better. simply reflect on that.
h.h. the 14th dalai lama
puts $:.map{|path| File.expand_path path}
On May 30, 2008, at 9:39 AM, aidy wrote:
Hi,
Is it possible to find out the full path of all the files that have
been required within a currently running script?Aidy
--
we can deny everything, except that we have the possibility of being better. simply reflect on that.
h.h. the 14th dalai lama