Thanks It works.
aravind On Fri, Mar 18, 2011 at 8:14 PM, Dave McNulla <mcnu...@gmail.com> wrote: > Another Ruby question. > > You could try a break: > > http://www.wellho.net/mouth/962_Breaking-a-loop-Ruby-and-other-languages.html > > My favorite is goto > > for i in1..5 > blah blah blah > goto funnyfarm if i.am.crazy > end > > :funnyfarm > puts "help, I'm in a batch script and I can't get out" > > Sorry, just having a little fun this morning. > > Dave > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com