On Jan 19, 2007, at 1:17 PM, sarita wrote:

> I want to execute a test on a table where links are to be clicked  
> based upon its status. Only when status not 'Complete', it's to be  
> clicked & further actions to be performed. Otherwise those steps to  
> be skipped. So, thinking of Ruby equivalent of 'Continue' in C.  
> Please help.

In Ruby it is called "next":

   [EMAIL PROTECTED]:~$ ruby -e '1.upto(5) {|n| next if n < 3 ; puts n}'
   3
   4
   5

-- fxn


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to