Chris,
The error I was getting was an uninitialized constant at the line
where I call the function. The logger.rb file runs with no errors, and
so does the test.rb prior to making include changes. SciTe doesn't get
more specific than that unfortunately, so it's been hard to tell. I
made sure that all variables used in both scripts are global. . .
That's where I decided to e-mail.
The main changes I make are to: remove the def logger section
from the script and place it in a new file, add def Class Logger above
the existing code. Put it in a new file called logger.rb in the same
directory as the script. Add require 'logger' to the script header. Is
any of that wrong? You can re-enact the process with the code I linked
in the last e-mail.
Thanks,
Adam
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
End of Wtr-general Digest, Vol 32, Issue 32
**********
No reason why what you propose shouldn't work. What errors are you
getting?
-Chris
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general