From: botp Date: 2007-04-09T02:29:47+09:00 Subject: Re: code blocks and methods On 4/9/07, andy 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. kind regards -botp