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