Class: Primer::Bus::Memory
- Inherits:
-
Primer::Bus
- Object
- Primer::Bus
- Primer::Bus::Memory
- Defined in:
- lib/primer/bus/memory.rb
Instance Method Summary collapse
Methods inherited from Primer::Bus
#distribute, #initialize, #subscribe, #unsubscribe, #unsubscribe_all
Constructor Details
This class inherits a constructor from Primer::Bus
Instance Method Details
#publish(topic, message) ⇒ Object
5 6 7 |
# File 'lib/primer/bus/memory.rb', line 5 def publish(topic, ) distribute(topic, ) end |