[Nitro] Using Og with GUI

George Moschovitis george.moschovitis at gmail.com
Fri Sep 16 03:26:42 EDT 2005


>     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




More information about the Nitro-general mailing list