From: Matt Todd Date: 2006-08-17T10:03:51+09:00 Subject: Re: New to Ruby and Programming Whether it is completely correct or not, I like to look at blocks as little functions that I pass to another function as an argument, just like I'd pass it a number or another object. The distinction, though, is how that block of code is called, and that that block of code can still access the variables you have laying around where that block of code was called. It's like rewriting part of the insides of another function! As I said, the details are a bit more, well, detailed, and tricky, too, but, as a very simple explaination, it works. Now, as a way to get more familiar with it, I'd definitily check out the Poignant Guide[1] and also _Why[2]'s TryRuby[3] interactive walkthrough. M.T. 1. http://poignantguide.net/ 2. http://redhanded.hobix.com/ 3. http://tryruby.hobix.com/