2013-04-27から1日間の記事一覧
概要 文字列のパディング 詳細 String#center String#ljust String#rjust でパディングが可能です。 サンプル # encoding: utf-8 require_relative "../open_classes.rb" require 'pp' hoge = "hoge" print_eval "puts hoge.center(10, '@')",binding print_…
概要 入力文字列をアスキー文字で出力する コマンド figlet [オプション] 入力文字列 オプション Usage: figlet [ -cklnoprstvxDELNRSWX ] [ -d fontdirectory ] [ -f fontfile ] [ -m smushmode ] [ -w outputwidth ] [ -C controlfile ] [ -I infocode ] […