Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Here's the formal specification for the until loop: : until « Statement « Ruby
Ruby
Statement
until
Here's the formal specification for the until loop:
until condition [
do
| : ] code end
Related examples in the same category
1.
until keeps looping while its condition remains false, or not true.
2.
As unless is a negated form of if, until is really a negated form of while.
3.
like while, you have another form you can use with untila€¡±that is, with begin/end:
4.
until loops until a certain condition is met
5.
unless and until