class Concurrent::Collection::CopyOnWriteObserverSet
def notify_to(observers, *args)
Experimental RBS support (using type sampling data from the type_fusion
project).
def notify_to: (Hash observers, *Array[] args) -> untyped
This signature was generated using 4 samples from 1 application.
def notify_to(observers, *args) raise ArgumentError.new('cannot give arguments and a block') if block_given? && !args.empty? observers.each do |observer, function| args = yield if block_given? observer.send(function, *args) end end