lib/event_sourcery/postgres/projector.rb in event_sourcery-postgres-0.3.0 vs lib/event_sourcery/postgres/projector.rb in event_sourcery-postgres-0.4.0
- old
+ new
@@ -4,15 +4,15 @@
def self.included(base)
base.include(EventProcessing::EventStreamProcessor)
base.prepend(TableOwner)
base.include(InstanceMethods)
base.class_eval do
- alias project process
+ alias_method :project, :process
class << self
- alias project process
- alias projects_events processes_events
- alias projector_name processor_name
+ alias_method :project, :process
+ alias_method :projects_events, :processes_events
+ alias_method :projector_name, :processor_name
end
end
end
module InstanceMethods