# Article: Understanding Ruby blocks, Procs and methods

**URL:** <https://www.ruby-forum.com/t/article-understanding-ruby-blocks-procs-and-methods/58078>\
**Category:** Ruby\
**Created:** [April 18, 2006, 8:37am UTC](https://www.ruby-forum.com/t/article-understanding-ruby-blocks-procs-and-methods/58078 "2006-04-18T08:37:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eliben](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/3bc359/32.png) [@eliben](https://www.ruby-forum.com/u/eliben)\
**Post date:** [April 18, 2006, 8:37am UTC](https://www.ruby-forum.com/t/article-understanding-ruby-blocks-procs-and-methods/58078/1 "2006-04-18T08:37:21Z")

</div>

Hi all,

Finding myself utterly confused by the various approaches Ruby has to  
blocks of code, I did some research which resulted in an article:  
“Understanding Ruby blocks, Procs and methods” which I posted here:  
[http://eli.thegreenplace.net/2006/04/18/understanding-ruby-blocks-procs-and-methods/](http://eli.thegreenplace.net/2006/04/18/understanding-ruby-blocks-procs-and-methods/)

It is aimed mostly to newcomers to Ruby, especially programmers coming  
from other languages like Perl and Lisp.

I hope it will be useful, and will gladly fix any mistakes - so feel  
free to comment.

Eli

P.S: I posted this on both the comp.lang.ruby group and the Ruby mailing  
list (via ruby-forum) because the gateway between the two seems to be  
down

P.P.S: I’ll be glad to post the article on one of the Ruby Wikis, if  
there’s demand for that, just tell me to which one and how to post  
there.
