Sunday, March 11, 2007

Ruby on Rails - Part 3

Blocks are an integral part of the Ruby language. While some aspects of blocks are easy to understand, they can be a source of confusion for developers new to Ruby. With a background in C style languages, I tried to understand Ruby blocks within the context of C function pointers and Java anonymous inner classes.