Ruby 2.6.0 リファレンスマニュアル > ライブラリ一覧 > rubygems/gem_path_searcherライブラリ > Gem::GemPathSearcherクラス > find

instance method Gem::GemPathSearcher#find

find(path) -> Gem::Specification | nil[permalink][rdoc]

与えられたパスにマッチする Gem::Specification を一つだけ返します。

[SEE_ALSO] Array#find