What I do is if I have to require a certain set of files repeatedly, I just 
place it in another .rb file and require that .rb file which will in turn 
require all of the files you need.

So I would define a file called requirements.rb

and then inside that file place

require 'xxxxx'
require 'yyyyy'
require 'zzzzz'


and in the ruby script i'm running, put require 'requirements.rb' or something 
that way you don't require files you don't need
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to