PHP 8.2.31
Preview: vendor.rb Size: 438 B
/proc/thread-self/root/opt/alt/ruby21/lib64/ruby/2.1.0/rubygems/source/vendor.rb

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

class Gem::Source::Vendor < Gem::Source::Installed

  ##
  # Creates a new Vendor source for a gem that was unpacked at +path+.

  def initialize path
    @uri = path
  end

  def <=> other
    case other
    when Gem::Source::Lock then
      -1
    when Gem::Source::Vendor then
      0
    when Gem::Source then
      1
    else
      nil
    end
  end

end

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
5.05 KB lrw-r--r-- 2014-02-06 02:59:36
Edit Download
541 B lrw-r--r-- 2013-11-30 23:27:52
Edit Download
2.60 KB lrw-r--r-- 2013-11-30 23:27:52
Edit Download
845 B lrw-r--r-- 2013-12-08 01:22:39
Edit Download
1.36 KB lrw-r--r-- 2013-11-19 00:34:13
Edit Download
438 B lrw-r--r-- 2013-11-30 23:27:52
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).