lib/dry/events/event.rb in dry-events-0.1.0 vs lib/dry/events/event.rb in dry-events-0.1.1
- old
+ new
@@ -65,14 +65,9 @@
@payload
end
end
# @api private
- def trigger?(query)
- query.empty? || query.all? { |key, value| payload[key] == value }
- end
-
- # @api private
def listener_method
@listener_method ||= :"on_#{id.to_s.gsub(DOT, UNDERSCORE)}"
end
end
end