Thanks David. I'm not sure you caught sight of the line of code I was worried about. I should have made it more clear. This one in particular sclass = class << self; self; end does use a class keyword and syntactic construct, it's just on a single line. Bihal -- Posted via http://www.ruby-forum.com/.