Changes

Jump to: navigation, search

Looping with for and the Ruby Looping Methods

1 byte removed, 13:07, 1 December 2007
no edit summary
</pre>
This causes thein the the inner loop to break each time i equal 2, thereby returning control to the outer loop which in turn calls the inner loop:
<pre>
== The Ruby times Method ==
The ''timetimes'' method provides an extremely convenient alternative to the ''for'' loop. The ''times'' method is provided by the Integer class and allows a task to be performed a specific number of times:
<pre>

Navigation menu