Hi Ken,

Extract a method that you need in multiple files in a separate file
(my_script.rb for example), and then at the top of every file that needs
that script write

require "my_script"

For now just make sure that all files are in the same folder.

Zeljko
--
ZeljkoFilipin.com
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to