In C and many other languages, there is a continue keyword that, when used inside of a loop, jumps to the next iteration of the loop. Is there any equivalent of this continue keyword in Ruby?
In C and many other languages, there is a continue keyword that, when used
Share
Yes, it’s called
next.This outputs the following: