From: Lucky Nl Date: 2012-02-06T16:43:08+09:00 Subject: how to exit from outerblock I have 2 blocks .i want exit innerblock and outer block if condition failed gnerally break will exit from innerblock a=[1,2,3,4,5,6] b=[5,2,3] a.each do |e| puts e b.each do |q| break if q==e end end here if q==e.it should exit from b and a blocks -- Posted via http://www.ruby-forum.com/.