From: Wejn Date: 2002-09-05T07:51:20+09:00 Subject: Breaking from 'case' Hi, is there any possibility to 'break' from 'case' ? while run case x when 'b' ``skip'' if cond # how ???? something_else else something end timer = Time.now end Is there any possibility (in the example above) to skip the rest of "when 'b'" and continue at the line "timer = Time.now" using some keyword/statement? There's always if-else-end option, but it seems to be inelegant in this case due to indent-level increasing (I have three ifs in the real code) Thanks in advance, W. -- Wejn (svamberk.net's Linux section, fi.muni.cz student, linuxfan) >>> Bored? Want hours of entertainment? <<< >>> Just set the initdefault to 6! <<<