Picklegnome wrote:
> I've just been looking into Ruby in the last few days, and I must say it
> does look promising. However, many of the tutorials and other resources 
> I've
> been looking at use blocks. Having done some research, I'm beginning to
> understand what they are and how they are used. However, I've only come
> across examples that use them for iteration and keeping a static 
> variable
> hidden. Is there something I'm missing? Can blocks be used for 
> non-iterative
> functions?

Here's some ideas: 
http://onestepback.org/articles/invitationtoruby/reason4.html

--
-- Jim Weirich

-- 
Posted via http://www.ruby-forum.com/.