Skip to content

Commit

Permalink
* remove trailing spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
matzbot committed May 4, 2019
1 parent 8980b53 commit 7d30cd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/drb/weakidconv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def initialize
def add(obj)
synchronize do
begin
@map[obj] = self
@map[obj] = self
rescue ArgumentError
@immutable[obj.__id__] = obj
end
Expand All @@ -30,7 +30,7 @@ def add(obj)

def fetch(ref)
synchronize do
@immutable.fetch(ref) {
@immutable.fetch(ref) {
@map.each { |key, _|
return key if key.__id__ == ref
}
Expand Down

0 comments on commit 7d30cd4

Please sign in to comment.