summaryrefslogtreecommitdiff
path: root/lib/drb/observer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/drb/observer.rb')
-rw-r--r--lib/drb/observer.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/drb/observer.rb b/lib/drb/observer.rb
index 149426d..cab9ebc 100644
--- a/lib/drb/observer.rb
+++ b/lib/drb/observer.rb
@@ -1,9 +1,12 @@
require 'observer'
module DRb
+ # The Observable module extended to DRb. See Observable for details.
module DRbObservable
include Observable
+ # 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