instance method Gem::Commands::WhichCommand#gem_paths

gem_paths(spec) -> Array[permalink][rdoc][edit]

与えられた Gem::Specification のインスタンスからその Gem が require するファイルのあるディレクトリをまとめて返します。

[PARAM] spec:
Gem::Specification のインスタンスを指定します。