From: Matt Brooks Date: 2009-09-22T01:32:09+09:00 Subject: Re: Incrementing method names in a loop? Nevermind, I implemented jesus's incorrectly, it works! I needed the .to_sym from the created method name.... framework.binary.pan_data_signals[index_pan_data_signal].num_bins.times do |bin_number_index| pan_data_variable = "pan_data_bin_#{bin_number_index}".to_sym value = framework.binary.pan_data_signals[index_pan_data_signal].send(pan_data_variable) framework.write_log("Pan Data Bin_\##{bin_number_index}: #{value}") end Thank you a lot to both of you, I was at a lost, and now it works like a charm!!! -- Posted via http://www.ruby-forum.com/.