On 2/16/07, Clifford Heath <no / spam.please.net> wrote:
> Here's a function similar to attr_accessor, except it takes a block,
> which is used to validate assignments to the attribute, and substitute
> in a string value to be used as a key to the hash inside class_eval.

Ruby 1.9 accepts blocks as parameters to blocks.

-austin
-- 
Austin Ziegler * halostatue / gmail.com * http://www.halostatue.ca/
               * austin / halostatue.ca * http://www.halostatue.ca/feed/
               * austin / zieglers.ca