Re: require an entire package?
by Michael Linfield other posts by this author
Jul 1 2009 3:35PM messages near this date
Re: require an entire package?
|
Re: require an entire package?
Woops, I may have misunderstood, if you meant require everything in say
the 'Common' directory/package... you could do something such as:
Dir.glob("*.rb").each {|x| require x}
given the fact that you would need to be in the Common directory
- Mac
--
Posted via http://www.ruby-forum.com/.
Thread:
Juston
Michael Linfield
Michael Linfield
Juston
Gary Chris
David A. Black
|