2008-03-18 インデントを作る。 Ruby かけ算で1発。 def make_indent( depth ) " " * depth end サンプル。 puts make_indent(3) puts make_indent(2)実行結果です。(わかりにくいね・・)