Sha256: df349a8a982fbbb4dda4aa7c46b8c893843baa401536116a14c4a82c5e72c9c5
Contents?: true
Size: 608 Bytes
Versions: 11
Compression:
Stored size: 608 Bytes
Contents
module EventSourcery module Memory module Projector def self.included(base) base.include(EventSourcery::EventProcessing::EventStreamProcessor) base.include(InstanceMethods) base.class_eval do alias_method :project, :process class << self alias_method :project, :process alias_method :projector_name, :processor_name end end end module InstanceMethods def initialize(tracker: EventSourcery::Memory.config.event_tracker) @tracker = tracker end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems