class MingleEvents::Processors::Filter
Public Instance Methods
match?(event)
click to toggle source
# File lib/mingle_events/processors/filter.rb 10 def match?(event) 11 raise "Subclass responsibility!" 12 end
process_events(events)
click to toggle source
# File lib/mingle_events/processors/filter.rb 6 def process_events(events) 7 events.select{|e| match?(e)} 8 end