Class: Thread

Inherits:
Object
  • Object
show all
Defined in:
lib/cool.io/loop.rb

Overview

Monkeypatch Thread to include a method for obtaining the default Coolio::Loop

Instance Method Summary collapse

Instance Method Details

#_coolio_loopObject


11
12
13
# File 'lib/cool.io/loop.rb', line 11

def _coolio_loop
  @_coolio_loop ||= Coolio::Loop.new
end