From: Florian Gross Date: 2004-12-09T06:02:29+09:00 Subject: Re: Ruby 2.0 Mauricio Fern�ndez wrote: > It can be made to fit in a canonical 80-char line (actually 78): > > a=[];10.times{|n|a<<1;puts" "*(9-n)*3+"%6d"*(n+1)%a;n.times{|i|a[n]+=a[n-=1]}} Small one: (two more chars) > a=[];10.times{|n|a<<1;puts" "*(9-n)*3+"%6d"*-~n%a;n.times{|i|a[n]+=a[n-=1]}}