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

singleton method GetoptLong.new

new(*arguments)[permalink][rdoc]

GetoptLong のオブジェクトを生成します。引数が与えられたときは、それを GetoptLong#set_options メソッドに渡します。

[PARAM] arguments:
オプションを定義するための配列の配列を指定します。

[SEE_ALSO] GetoptLong#set_options