Class: Low::Events::EventPool
- Inherits:
-
Object
- Object
- Low::Events::EventPool
- Defined in:
- lib/pool/event_pool.rb
Constant Summary collapse
- BUFFER_SIZE =
100.freeze
Instance Method Summary collapse
- #current_event_tree ⇒ Object
- #event_trees ⇒ Object
-
#initialize ⇒ EventPool
constructor
A new instance of EventPool.
Constructor Details
#initialize ⇒ EventPool
Returns a new instance of EventPool.
11 12 13 |
# File 'lib/pool/event_pool.rb', line 11 def initialize @pool = Support::PoolHash.new(BUFFER_SIZE) end |