Class: NRSER::Log::Appender::Sync::FakeQueue
- Defined in:
- lib/nrser/log/appender/sync.rb
Overview
A fake Queue that just implements a FakeQueue.size method that returns ‘0`.
Sync appender doesn’t need a queue, but Semantic Logger expects one, so telling it the length is always zero seems to make sense.
Class Method Summary collapse
-
.size ⇒ 0
Fake queue is always empty.
Class Method Details
.size ⇒ 0
Returns Fake queue is always empty.
64 65 66 |
# File 'lib/nrser/log/appender/sync.rb', line 64 def self.size 0 end |