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