=~ (Gem::Dependency)

    # File lib/rubygems/dependency.rb, line 109
      def =~(other)
        other = if self.class === other then
                  other
                else
                  return false unless other.respond_to? :name and
                                      other.respond_to? :version

                  Gem::Dependency.new other.name, other.version
                end

        pattern = @name
        pattern = /\A#{Regexp.escape @name}\Z/ unless Regexp === pattern

        return false unless pattern =~ other.name

        reqs = other.version_requirements.requirements

        return false unless reqs.length == 1
        return false unless reqs.first.first == '='

        version = reqs.first.last

        version_requirements.satisfied_by? version
      end