puts (1..?d).map{|n|r=n%10;r==0?n:r==1?'1'*n:n.to_s(r)}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page