class Gem::Source::Lock

def <=> other # :nodoc:

:nodoc:
def <=> other # :nodoc:
  case other
  when Gem::Source::Lock then
    @wrapped <=> other.wrapped
  when Gem::Source then
    1
  else
    nil
  end
end

def == other # :nodoc:

:nodoc:
def == other # :nodoc:
  0 == (self <=> other)
end

def fetch_spec name_tuple

def fetch_spec name_tuple
  @wrapped.fetch_spec name_tuple
end

def initialize source

def initialize source
  @wrapped = source
end

def uri # :nodoc:

:nodoc:
def uri # :nodoc:
  @wrapped.uri
end