Ruby 4.0 リファレンスマニュアル

instance method Gem::Commands::LockCommand#spec_path

spec_path(gem_full_name) -> StringRuby 1.9.3 から[permalink][rdoc][edit]

指定された Gem パッケージの gemspec ファイルのフルパスを返します。

[PARAM] gem_full_name:
Gem パッケージの名前を指定します。