From: "Darryl L. Pierce" Date: 2012-02-21T05:57:53+09:00 Subject: Re: Accessing a local variable through a symbol On Mon, Feb 20, 2012 at 3:49 PM, Ralph Shnelvar wrote: > local_variables delivers a list of symbols of the local variables.  I'm trying to access the underlying values associated with that list. def foo x = 5 y = 9 z = 9 local_variables.each { |varname| puts "#{varname} evaluates to #{eval varname}"} end Try that. -- Darryl L. Pierce Visit the Infobahn Offramp: "Bury me next to my wife. Nothing too fancy..." - Ulysses S. Grant