Skip to content

Commit

Permalink
Separate send into public_send and __send__
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu authored and hsbt committed Dec 4, 2020
1 parent b3ec38a commit b4c8861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/drb/observer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def notify_observers(*arg)
if defined? @observer_peers
@observer_peers.each do |observer, method|
begin
observer.send(method, *arg)
observer.__send__(method, *arg)
rescue
delete_observer(observer)
end
Expand Down

0 comments on commit b4c8861

Please sign in to comment.