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

singleton method GetoptLong.new

new(*arguments)

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

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

[SEE_ALSO] GetoptLong#set_options

class GetoptLong