 |
Ruby User's Guide - www.rubyist.net
Sometimes you want to negate a test condition. An unless is a negated if, and an until is a negated while. We'll leave it up to you to experiment with these. There are four ways to interrupt the progress of a loop from inside. First, break means, as in C,
www.rubyist.net |
 |