るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.101秒)

別のキーワード

  1. optparse getopts
  2. optionparser getopts
  3. arguable getopts
  4. getopts optparse
  5. getopts optionparser

ライブラリ

クラス

検索結果

OptionParser.getopts(*opts) -> Hash (18125.0)

引数をパースした結果を、Hash として返します。(self.new.getopts と同じです)

...引数をパースした結果を、Hash として返します。(self.new.getopts と同じです)

@param argv パースしたい配列を指定します。

@param opts 引数を文字列で指定します。

@raise OptionParser::ParseError パースに失敗した場合、発生します。...
...実際は OptionParser::ParseError のサブク
ラスになります。


@see OptionParser#getopts...

OptionParser.getopts(argv, *opts) -> Hash (18125.0)

引数をパースした結果を、Hash として返します。(self.new.getopts と同じです)

...引数をパースした結果を、Hash として返します。(self.new.getopts と同じです)

@param argv パースしたい配列を指定します。

@param opts 引数を文字列で指定します。

@raise OptionParser::ParseError パースに失敗した場合、発生します。...
...実際は OptionParser::ParseError のサブク
ラスになります。


@see OptionParser#getopts...