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.
37 38 39 40 |
# File 'lib/framed/emitters.rb', line 37 def initialize(client) super @reported = [] end |
Instance Attribute Details
#reported ⇒ Object (readonly)
Returns the value of attribute reported.
35 36 37 |
# File 'lib/framed/emitters.rb', line 35 def reported @reported end |
Instance Method Details
#enqueue(event) ⇒ Object
42 43 44 |
# File 'lib/framed/emitters.rb', line 42 def enqueue(event) @reported << event end |