class Gem::Source

Source 知道如何从 RubyGems marshal 索引中列出和获取 gem。

还有其他的 Source 子类,用于已安装的 gem、本地 gem、bundler 依赖项 API 等。