From: Michael Lucas-Smith Date: 2001-12-31T12:21:18+09:00 Subject: [ruby-talk:29792] Re: Proc.class vs yield > > def some_iterator(&b) > # b now refers to the given block > # Call it five times: > 5.times {|i| b.call(i) } > end > > some_iterator {|i| puts i} Aha! Thanks. This is exactly what I was looking for. Except it's not as.. well, nice. More syntax candy to do the job that the language could do intuitively otherwise. None the less, this is good :) Michael.