Hey, it's not really an answer to your question directly but a summary of
ruby variable types, that I have found useful.
Leigh

http://www.techotopia.com/index.php/Ruby_Variable_Scope

On Tue, Apr 21, 2009 at 12:08 PM, George <george.sand...@gmail.com> wrote:

>
> Hello folks,
>
> As I've been learning Watir, I'm becoming more aware that assigning
> global variable to a browser (or assigning one to anything for that
> matter!) is a huge no-no.
>
> So, I guess my question is...should I change the variable type from $
> to @?  And if yes, will it understood by other custom libraries I
> include in my main script?
>
> I hope that makes sense...
>
> Thanks,
>
> George
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to