On 15/05/07, Ken <[EMAIL PROTECTED]> wrote: > What is the easiest way for me to re-use this function so that I dont have > to > include it in every script that i write?
You could use Ruby Test::Unit. class Test_Suite < Test::Unit::TestCase #the setup method is executed before each test method def setup login(usr, pswd) end def test_1 end def test_2 end end _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general