OSDN Git Service
(root)
/
splhack
/
AndroidRuby.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ruby-1.9.1-rc1
[splhack/AndroidRuby.git]
/
lib
/
ruby-1.9.1-rc1
/
lib
/
drb
/
eq.rb
1
require 'drb/drb'
2
3
module DRb
4
class DRbObject
5
def ==(other)
6
return false unless DRbObject === other
7
(@ref == other.__drbref) && (@uri == other.__drburi)
8
end
9
10
def hash
11
[@uri, @ref].hash
12
end
13
14
alias eql? ==
15
end
16
end