class Cased::Publishers::TestPublisher
Attributes
events[R]
Public Class Methods
new()
click to toggle source
# File lib/cased/publishers/test_publisher.rb, line 10 def initialize @events = [] end
Public Instance Methods
publish(event)
click to toggle source
# File lib/cased/publishers/test_publisher.rb, line 14 def publish(event) @events << event end