F
Fernando Cacciola
Hi people,
I've modularized my very first ruby program (a port of a bash script).
However, if I use 'load' and the target program is loaded multiple times
(indirectly), I get warnings about redefinition of constants, etc
(understandably)
But if I try to use 'require', it searches for the program in the ruby
distribution. Is there a way to specify within the top level script itself
where to search?
TIA
I've modularized my very first ruby program (a port of a bash script).
However, if I use 'load' and the target program is loaded multiple times
(indirectly), I get warnings about redefinition of constants, etc
(understandably)
But if I try to use 'require', it searches for the program in the ruby
distribution. Is there a way to specify within the top level script itself
where to search?
TIA