8 9 10 11
# File 'lib/ephemeron/logger/finders.rb', line 8 def find_all_events_for(model, *events) Logger.logs .filter { |l| events.any? { |e| l == Logger::Convert.call(model, e) } } end