1. Gem::
  2. Source::
  3. Vendor

class Gem::Source::Vendor

This represents a vendored source that is similar to an installed gem.

Public Class Methods

Source
# File lib/rubygems/source/vendor.rb, line 10definitialize(path)@uri =pathend

Creates a newVendor source for a gem that was unpacked atpath.

Public Instance Methods

Source
# File lib/rubygems/source/vendor.rb, line 14def<=>(other)caseotherwhenGem::Source::Lockthen-1whenGem::Source::Vendorthen0whenGem::Sourcethen1endend