Hi,
I am new to watir and ruby.
There are two ruby files.In the main ruby file I am using assert_equal.It's
working fine.There is another ruby file which contains module.I want to
write all the assert_equal statements in the module.
At the top of the module, I am using - $LOAD_PATH.<<
File.join(File.dirname(__FILE__), '') if $0 == __FILE__.

If I use assert_equal in the module file, I am getting error: undefined
method : assert_equal.

What is the require statements for this.

Thanks,
Jayashree.

Disclaimer:

This e-mail, and any files transmitted with it are confidential to Marlabs Inc. 
and intended solely for the use of the individual or entity to whom it is 
addressed. If you are not the intended recipient you are notified that 
disclosing, copying, distributing or taking any action in reliance on the 
contents of this information is strictly prohibited.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to