From: Sam Web Date: 2006-09-27T04:09:17+09:00 Subject: Re: Fixnum/String randomly changing type > puts "Info is: #{info[0].class}" > # info.each { |newval| puts "#{newval.class}"; break } One small correction... to match the output I gave, the commented out line should read: # info.each { |newval| puts "#{newval}"; break } The behavior is the same in both cases, going from String to Fixnum when the 'each' loop is uncommented. -- Posted via http://www.ruby-forum.com/.