Ruby の sprintf#Ruby2005-12-27Ruby の sprintf って sprintf("p#%02d", index) の代わりに p#%02d" % index と書けるんだ。知らなかった。