1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* remove trailing spaces.

This commit is contained in:
git 2019-05-04 19:29:14 +09:00
parent 8980b53a48
commit 7d30cd47c4

View file

@ -20,7 +20,7 @@ module DRb
def add(obj)
synchronize do
begin
@map[obj] = self
@map[obj] = self
rescue ArgumentError
@immutable[obj.__id__] = obj
end
@ -30,7 +30,7 @@ module DRb
def fetch(ref)
synchronize do
@immutable.fetch(ref) {
@immutable.fetch(ref) {
@map.each { |key, _|
return key if key.__id__ == ref
}