Eli Bendersky
4/16/2006 8:05:00 AM
Hi All,
Is there a tutorial somewhere that clear away all questions that newbie
Rubyists have about methods, procs and blocks ? Most importantly:
- When is each typically used
- How are they converted to-and-from one another
- How they are used to express common functional programming idioms:
functions as first-class constructs, anonymous functions, passing
functions around, closures, and so on.
I think a single resource explaining this topic would clear much of the
questions that arise on comp.lang.ruby almost every week.
Kind regards,
Eli