Hi Rodrigo,
       Yes you can. I havent treid for an array but am sure you can. I have used global variable with '$' in front of the variable and then use it in other ruby files. I have declared this in the set up file.
 
For example
 
$Yahoolink="www.yahoo.com"
 
and I can use "$Yahoolink" in other ruby files
 
Thanks!
Deepa


Rodrigo Julian Martin <[EMAIL PROTECTED]> wrote:
Hi all,
 
I’ve another question… Is there a way to share variables ! between several .rb files which are loaded as a Test Suite? e.g. An array which is loaded in test1.rb and that I want to use in test2.rb.
 
Thanks in Advance!
Rodrigo Julian Martin
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general



Whatever you can do or dream you can, begin it. Boldness has genius, power, and magic in it.
--Johann Wolf! gang von Goethe
 
------------------------------------------------------------------------
Deepa Mallapareddy,
4981,Catoctin Drive,
Apt#15,San Diego
CA - 92115


New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to