Sha256: 60bf51fa784b7fb2f255d69948381a5db410d8234427dfdf7d83e8626c14eb67
Contents?: true
Size: 340 Bytes
Versions: 24
Compression:
Stored size: 340 Bytes
Contents
module DeepTest class ListenerList attr_reader :listeners def initialize(listeners) @listeners = listeners end NullWorkerListener.instance_methods(false).each do |event| eval <<-end_src def #{event}(*args) @listeners.each {|l| l.#{event}(*args)} end end_src end end end
Version data entries
24 entries across 24 versions & 4 rubygems