るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.131秒)
トップページ > クエリ:l[x] > クエリ:>[x] > クエリ:find_command[x]

別のキーワード

  1. _builtin >
  2. bigdecimal >
  3. integer >
  4. float >
  5. module >

ライブラリ

クラス

検索結果

Gem::CommandManager#find_command(command_name) -> Gem::Command | nil (18301.0)

登録されているコマンドからマッチしたものを返します。

登録されているコマンドからマッチしたものを返します。

@param command_name コマンド名を文字列で指定します。

@return Gem::Command のサブクラスのインスタンスを返します。

@raise RuntimeError マッチする可能性のあるコマンドが複数ある場合に発生します。
また、マッチするコマンドが無かった場合にも発生します。

Gem::CommandManager#find_command_possibilities(command_name) -> Array (12301.0)

登録されているコマンドでマッチする可能性のあるものを返します。

登録されているコマンドでマッチする可能性のあるものを返します。

@param command_name コマンド名を文字列で指定します。