Class: ServerEngine::ProcessManager::TickThread
- Inherits:
-
Thread
- Object
- Thread
- ServerEngine::ProcessManager::TickThread
- Defined in:
- lib/serverengine/process_manager.rb
Instance Method Summary collapse
-
#initialize(auto_tick_interval, &tick) ⇒ TickThread
constructor
A new instance of TickThread.
Constructor Details
#initialize(auto_tick_interval, &tick) ⇒ TickThread
Returns a new instance of TickThread.
473 474 475 476 477 |
# File 'lib/serverengine/process_manager.rb', line 473 def initialize(auto_tick_interval, &tick) @auto_tick_interval = auto_tick_interval @tick = tick super(&method(:main)) end |