2007-09-18 軽くキモいevalを使ったピラミッド def f n i=1 eval %Q[puts " "*(n-i)+"*"*(2*i-1); i+=1;]*n end __END__ f 5 * *** ***** ******* *********