Hi all

I have the following code snipped:

@country = Country.new

Instead of hardcoding @country and Country I'd like to use the contents
of two strings:

instance_var_name = 'country'
class_name = 'Country'

How can this be achieved?

Thanks a lot for help and yes, I'm working on my Ruby skills but I'm not
quite there yet. ;-)

Josh

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