William James wrote:

> Brian Mitchell <binary42 / gmail.com> wrote
> 
>>32.times{|y|print" "*(31-y);(y+1).times{|x|print" #{~y&x==0?"A":"."}"};puts}
> 
> Excellent signature, Brian.  Here's a shortened version:
> 
>   32.times{|y|print" "*(31-y);(y+1).times{|x|print~y&x>0?" .":" A"};puts}

Yet shorter:

     32.times{|y|print" "*(31-y),(0..y).map{|x|~y&x>0?" .":" A"},$/}