2006-05-30 getopts => OptionParser ruby http://sonic64.com/2005-01-12.html http://www.ruby-lang.org/ja/man/index.cgi?cmd=view;name=OptionParser getoptsじゃなくて、OptionParserを使いナサイ。