Sha256: 0200da2c8d79755b9242a1726f0bb3ecd7552b74440a0afab98199a7a00ae68c
Contents?: true
Size: 473 Bytes
Versions: 8
Compression:
Stored size: 473 Bytes
Contents
require 'observer' module DRb module DRbObservable include Observable def notify_observers(*arg) if defined? @observer_state and @observer_state if defined? @observer_peers @observer_peers.each do |observer, method| begin observer.send(method, *arg) rescue delete_observer(observer) end end end @observer_state = false end end end end
Version data entries
8 entries across 8 versions & 1 rubygems