lib/garcon/task/copy_on_write_observer_set.rb
# Notifies all registered observers with optional args and deletes them.
#
# @param [Object] args
#   Arguments to be passed to each observer
#
# @return [CopyOnWriteObserverSet] self
Notifies all registered observers with optional args and deletes them.
Notifies all registered observers with optional args and deletes them .
def notify_and_delete_observers(*args, &block)
      old = clear_observers_and_return_old
      notify_to(old, *args, &block)
      self
    end
def notify_and_delete_observers ( * args , & block ) old = clear_observers_and_return_old notify_to ( old , * args , & block ) self end
Notifies all registered observers with optional args and deletes them.
Notifies all registered observers with optional args and deletes them .
None
CopyOnWriteObserverSet
args
<not_specific>
block
<not_specific>
<not_specific>
args Arguments to be passed to each observer
args Arguments to be passed to each observer