Andreas Lundgren wrote in post #1000369:
>

5) Most ruby programmers don't use for-in because that construct just 
calls each(), so ruby programmers call each() directly:

2..no_of_params.each do |i|
  arg_list = arg_list + ', x' + i.to_s;
  params = params + ' + \', \' + x' + i.to_s + '.to_s';
end

-- 
Posted via http://www.ruby-forum.com/.