From: Logan Capaldo Date: 2006-03-06T10:28:26+09:00 Subject: Re: [SOLUTION] The Golden Fibbonacci Ratio (#69) --Apple-Mail-21-92528708 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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 --Apple-Mail-21-92528708--