Re: require an entire package?
by Gary Chris other posts by this author
Jul 1 2009 4:53PM messages near this date
Re: require an entire package?
|
Re: require an entire package?
Hello,
I just replied to you over on ubuntuforums but i'll stick it here also.
You could just add the directory containing the files to the load_path
array
$LOAD_PATH << "#{File.dirname(__FILE__)}/../../dir_containing_files"
This will load all files that are located within the directory.
As I said over on ubuntuforums, this may be overkill.
--
Posted via http://www.ruby-forum.com/.
Thread:
Juston
Michael Linfield
Michael Linfield
Juston
Gary Chris
David A. Black
|