Thanks, DuanJingJing and Chris for the speedy reply.

Evidently I was expecting a return value during class definition time.

My bad :-)

-- 
Posted via http://www.ruby-forum.com/.