module Aggro::Projection

Public: Mixin to turn a PORO into an Aggro projection.

Public Class Methods

new(id) click to toggle source
# File lib/aggro/projection.rb, line 9
def initialize(id)
  @id = id
  Aggro.event_bus.subscribe(id, self)
end