From: Geoffrey Lane Date: 2006-03-06T11:24:43+09:00 Subject: Re: [SOLUTION] The Golden Fibbonacci Ratio (#69) Heh, good catch. On Mar 5, 2006, at 7:28 PM, Logan Capaldo wrote: > > On Mar 5, 2006, at 6:40 PM, Geoff Lane wrote: > >> if __FILE__ == $0 >> 0.upto(ARGV.length - 1) do |i| >> puts "Fibonacci for: " + ARGV[i] >> f = Fibonacci.new(ARGV[i].to_i) >> f.draw >> puts >> end >> end > > > EEEK! ;) > > if __FILE__ == $0 > ARGV.each do |i| > puts "Fibonacci for: #{i}" > f = Fibonacci.new(i.to_i) > f.draw > puts > end > end > -- Geoff Lane