Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library optparse > class OptionParser > version
version -> String
version=(ver)
プログラムのバージョンを表すアクセサです。