I'd take a look at Ruby Metaprogramming ( http://www.amazon.com/Metaprogramming-Ruby-Program-Like-Pros/dp/1934356476/ref=sr_1_1?ie=UTF8&qid=1299079977&sr=8-1) by Paolo Perrotta for a good explanation of proc's (and lambda's etc.).
On Wed, Mar 2, 2011 at 7:17 AM, Michael Lang <[email protected]> wrote: > > I wish I understood using procs better. :-) > > Are there any blog postings or tutorials out there that cover > employing procs in a more readable/use-case scenario? I've seen a few > that talk about procs and give examples, but not in the context of how > I can actually put one to use. The examples are usually quite exotic, > at least to me. The above short example is actually the few *useful* > scenarios I've seen for how one might employ procs. > > Michael > -- > http://codeconnoisseur.org > > -- > -- Scott http://steamcode.blogspot.com/ -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
