From: Chris Hulan Date: 2008-04-26T01:50:02+09:00 Subject: Re: undefined local variable On Apr 25, 11:16 am, Johan Eriksson wrote: > Hi! > > I have some troubles with this. > > obj_as_list.each do |att| > if att[1].is_a?(String) > att[1] = "'#{att[1]'" You're missing a '}' here ----------^ does that help?