lib/pigeon/queue.rb
def remove_observer(filter_name = nil, &block)
    @observers.synchronize do
      set = @observers[filter_name]

      set and set.delete(block)
    end
  end
# Removes references to the callback function specified. Note that the same
# Proc must be passed in, as a block with an identical function will not
# be considered equivalent.
Removes references to the callback function specified. Note that the same
Proc must be passed in, as a block with an identical function will not
be considered equivalent.
Removes references to the callback function specified . Note that the same Proc must be passed in as a block with an identical function will not be considered equivalent .
def remove_observer(filter_name = nil, &block)
    @observers.synchronize do
      set = @observers[filter_name]
      set and set.delete(block)
    end
  end
def remove_observer ( filter_name = nil , & block ) @observers . synchronize do set = @observers [ filter_name ] set and set . delete ( block ) end end
Removes references to the callback function specified.
Removes references to the callback function specified .
filter_name
block