| February 2, 2004 | Intro to Ruby | Slide #16 |
| Prev | Next |
Iterators are perhaps the feature that most differentiates Ruby from Perl, Python, C++, and its other most well-known ancestors. They're a simple, elegant concept:
A block of code is associated with a function
The function can call that block with yield
|
| Prev | Copyright © 2004 Walter C. Mankowski | Next |