On Apr 8, 2007, at 12:29 PM, botp wrote:

> On 4/9/07, andy <eps / mailinator.com> wrote:
>> I am familiar with c# and java, one thing I don't understand is the
>> difference between code blocks and methods, can anyone offer a better
>> explanation than the one on the site above ?
>
> to quote carlson et al, "a Ruby code block is a method that has no
> name." see http://www.devarticles.com/c/a/Ruby-on-Rails/Code-Blocks- 
> and-Iteration/
> or the ruby cookbook.

I wrote about my take on code blocks for my blog a while back:

http://blog.grayproductions.net/articles/2006/01/05/code-as-a-data-type

James Edward Gray II