class Gem::Source::Installed
代表一个已安装的 gem。这用于依赖项解析。
公共实例方法
来源
# File lib/rubygems/source/installed.rb, line 14 def <=>(other) case other when Gem::Source::Git, Gem::Source::Lock, Gem::Source::Vendor then -1 when Gem::Source::Installed then 0 when Gem::Source then 1 end end
Installed
来源在所有其他来源之前排序
来源
# File lib/rubygems/source/installed.rb, line 30 def download(spec, path) nil end
我们不需要下载已安装的 gem