From: sto.mar@... Date: 2013-03-06T03:23:24+09:00 Subject: Re: How `next` works in ruby with `unless` ? Am 05.03.2013 19:18, schrieb Kumar R.: > Kumar R. wrote in post #1100105: >> line : "next puts "hi" unless n == 5 " . > > next generally used to skip the part of execution and send the control > to the beginning. But how the in between part puts "hi" has been > executed. Why does next not skip this statement ? Nobody writes code like this, so why care. --