[Wtr-general] 'Require' Lots Of Files

Fletch forum-watir-users at openqa.org
Wed May 30 11:39:02 EDT 2007


Thanks for the reply - not to sound silly at all, but where do I put this method?

All the require files normally go at the top of the file, but I have tried putting the code everywhere I can think of and still have had no luck.

--

require 

className
  def test1
  end
  def test2
  end
end

--

Ideally it will replace the require, but I can not obviously put a method up there (can I?).

Thanks,

Fletch.


More information about the Wtr-general mailing list