1# frozen_string_literal: false
2module DRb
3  class DRbObject # :nodoc:
4    def ==(other)
5      return false unless DRbObject === other
6     (@ref == other.__drbref) && (@uri == other.__drburi)
7    end
8
9    def hash
10      [@uri, @ref].hash
11    end
12
13    alias eql? ==
14  end
15end
16