[Wtr-general] A small doubt in Ruby

vijay forum-watir-users at openqa.org
Sat Mar 3 01:51:06 EST 2007


Thank you Zeljko Filipin.  I did not know about this '.dup' method before.  That was an useful information.  But is what Ruby doing (pointing two different variables to one string just because one variable's value was assigned to another in the previous step) correct?  Shouldn't it consider the two variables as separate entities rather than one?

Thanks,
Vijay.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6739&messageID=19508#19508


More information about the Wtr-general mailing list