Class: Anschel::Output::Base
- Inherits:
-
Object
- Object
- Anschel::Output::Base
- Defined in:
- lib/anschel/output/base.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#push(event) ⇒ Object
10 |
# File 'lib/anschel/output/base.rb', line 10 def push event ; @queue.push event end |
#stop ⇒ Object
4 5 6 7 8 |
# File 'lib/anschel/output/base.rb', line 4 def stop return if @stopped @thread.kill @stopped = true end |