From: James Edward Gray II Date: 2006-12-13T10:26:20+09:00 Subject: Re: passing Proc as a parameter On Dec 12, 2006, at 6:00 PM, Can Ceran wrote: > Hi, > I'm a new user of Ruby, and trying to learn its features. But I have a > difficulty to understand Proc class. > What will be the referencing environment when we pass Proc as a > parameter? > and other question, how can we pass Proc as a parameter, can you > give an > example of it? This article might be worth a read: http://blog.grayproductions.net/articles/2006/01/05/code-as-a-data-type James Edward Gray II