Sha256: faeaf0beb34076e5512569c2ea59bbebb2329572a8c6a58da9655573f37592f9
Contents?: true
Size: 368 Bytes
Versions: 43
Compression:
Stored size: 368 Bytes
Contents
module Mongo class Monitoring # #subscribers writes to the subscribers even when reading them, # confusing the tests. # This method returns only events with populated subscribers. def present_subscribers subs = {} subscribers.each do |k, v| unless v.empty? subs[k] = v end end subs end end end
Version data entries
43 entries across 43 versions & 2 rubygems