Class: DohLog::MemoryAcceptor
Instance Attribute Summary collapse
-
#events ⇒ Object
Returns the value of attribute events.
Instance Method Summary collapse
- #add(event) ⇒ Object
-
#initialize ⇒ MemoryAcceptor
constructor
A new instance of MemoryAcceptor.
- #shutdown ⇒ Object
Constructor Details
#initialize ⇒ MemoryAcceptor
Returns a new instance of MemoryAcceptor.
6 7 8 |
# File 'lib/dohlog/memory_acceptor.rb', line 6 def initialize @events = [] end |
Instance Attribute Details
#events ⇒ Object
Returns the value of attribute events.
4 5 6 |
# File 'lib/dohlog/memory_acceptor.rb', line 4 def events @events end |