Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > getoptlongライブラリ > GetoptLongクラス > terminated?

instance method GetoptLong#terminated?

terminated? -> true | false

エラーが起きずにオプションの処理が終了しているときは真が 返ります。それ以外のときは、偽が返ります。

class GetoptLong