> m.send( "#{k}=", getControlValue(k) )
you could also use:
m.instance_variable_set "@#{k}", getControlValue(k)
but even better you should define a method like:
getControlValues # => A hash of key values
then you could do:
m.assign_with getControlValues()
regards,
George.
--
http://www.gmosx.com
http://www.navel.gr
http://www.nitrohq.com