るりまサーチ (Ruby 3.0)

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

別のキーワード

  1. rake sh
  2. fileutils sh
  3. constants lock_sh
  4. _builtin lock_sh
  5. sync sh

ライブラリ

検索結果

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

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

...am opts 引数を文字列で指定します。

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


@see OptionParser#getopts...

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

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

...am opts 引数を文字列で指定します。

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


@see OptionParser#getopts...