Ruby 2.6.0 リファレンスマニュアル > ライブラリ一覧 > getoptlongライブラリ > GetoptLongクラス > new
new(*arguments)
GetoptLong のオブジェクトを生成します。引数が与えられたときは、それを GetoptLong#set_options メソッドに渡します。
[SEE_ALSO] GetoptLong#set_options