Class: Framed::Emitters::InMemory
Instance Attribute Summary collapse
-
#reported ⇒ Object
readonly
Returns the value of attribute reported.
Instance Method Summary collapse
- #enqueue(event) ⇒ Object
-
#initialize(client) ⇒ InMemory
constructor
A new instance of InMemory.
Methods inherited from Base
Constructor Details
#initialize(client) ⇒ InMemory
Returns a new instance of InMemory.
36 37 38 39 |
# File 'lib/framed/emitters.rb', line 36 def initialize(client) super @reported = [] end |
Instance Attribute Details
#reported ⇒ Object (readonly)
Returns the value of attribute reported.
34 35 36 |
# File 'lib/framed/emitters.rb', line 34 def reported @reported end |
Instance Method Details
#enqueue(event) ⇒ Object
41 42 43 |
# File 'lib/framed/emitters.rb', line 41 def enqueue(event) @reported << event end |