From: Colin Summers Date: 2007-11-12T12:30:46+09:00 Subject: [noob] name of a variable, at runtime This seems harder than the usual thing I've been tripping on (and finding answers in the pickaxe or online). I have an object: human. It has parts: human.hand human.foot. How can I say this: fred = human.new fred.hand = fred.foot = fred. leg = 'flesh' fred.knee = 'plastic' fred.head = 'steel' parts = [hand,foot,leg,knee] parts.each do |part| puts "part #{part} is made of " + fred.{part}.to_s end # with each part Am I close? Thanks, --Colin