# frozen_string_literal: false
# The Observable module extended to DRb. See Observable for details.
# Notifies observers of a change in state. See also
# Observable#notify_observers
def notify_observers(*arg)
if defined? @observer_state and @observer_state
if defined? @observer_peers
@observer_peers.each do |observer, method|
observer.send(method, *arg)
delete_observer(observer)