| February 2, 2004 | Intro to Ruby | Slide #19 |
| Prev | Next |
Unfortunately, however, procs can't be iterators like regular methods can:
|
A Proc can't take a block
A Proc gets the block of the method that creates it, not the method that calls it.
| Prev | Copyright © 2004 Walter C. Mankowski | Next |