From: Florian Gross Date: 2004-12-06T02:32:40+09:00 Subject: Re: Ruby 2.0 David A. Black wrote: >>Yet shorter: >> >> 32.times{|y|print" "*(31-y),(0..y).map{|x|~y&x>0?" .":" A"},$/} > > Does this count as shorter? > > ruby -le'32.times{|y|print" "*(31-y),(0..y).map{|x|~y&x>0?" .":" A"}}' Nice, not sure if this is officially shorter, but it is something I did certainly not know nor think off. Thanks for mentioning it.