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

instance method Gem::ConfigFile#sources

sources -> [String] | nilRuby 2.4.0 から[permalink][rdoc][edit]

gem を探すソースの URL の配列を返します。

設定ファイルの sources キーの値で、設定が無い場合は nil を返します。

[SEE_ALSO] Gem?.sources, Gem::ConfigFile#sources=