/tools/Ruby/lib/ruby/1.8/drb/eq.rb
http://github.com/agross/netopenspace · Ruby · 16 lines · 13 code · 3 blank · 0 comment · 3 complexity · e815b12bf569409b1c0a140417386f89 MD5 · raw file
- require 'drb/drb'
- module DRb
- class DRbObject
- def ==(other)
- return false unless DRbObject === other
- (@ref == other.__drbref) && (@uri == other.__drburi)
- end
- def hash
- [@uri, @ref].hash
- end
- alias eql? ==
- end
- end