Friday, August 23, 2002, 3:26:42 PM, you wrote:

E>> You can easily misspell method name (man.sername) with method_missing
E>> and will not notice this. In this case better way to use structs as
E>> for me.

t>  Well, in this case you can use anonymous struct

t>    row_class = Struct.new(nil, *res.names)

t>  ruby will create a new class for each call, or if you want named struct,
t>  something like this (not tested)
Yes, this is exactly what I want. Thank you.

-- 
Best regards,
 Eugene [team Enticla]               mailto:Eugene.Scripnik / itgrp.net