Module: BitGirder::Concurrent

Defined in:
lib/bitgirder/concurrent.rb

Defined Under Namespace

Modules: EmUtils Classes: Completion, Rendezvous, Retry

Class Method Summary collapse

Class Method Details

.require_emObject

Classes and modules in here which make use of event machine will call this to require it. We don’t want to put a bare ‘require’ statement in this file so as to allow for parts of BitGirder::Concurrent to be used without event machine being present.



10
11
12
# File 'lib/bitgirder/concurrent.rb', line 10

def self.require_em
    require 'eventmachine'
end