Ruby - Loops and Iteration
What does the
break keyword do inside a Ruby loop?break keyword do inside a Ruby loop?breakbreak keyword immediately stops the loop and exits it, no further iterations happen.next skips to the next iteration, redo repeats the current one, but break stops all looping.break = stop loop [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions