Module: Empathy::Kernel

Defined in:
lib/empathy.rb

Overview

Delegates to EM::Kernel when in the EM reactor, otherwise plain old ::Kernel

Class Method Summary collapse

Class Method Details

.at_exitObject

Delegates to EM::Kernel.at_exit when in the EM reactor, otherwise to plain old ::Kernel.at_exit



192
# File 'lib/empathy.rb', line 192

create_delegate_module('Kernel',:sleep,:at_exit)

.sleepObject

Delegates to EM::Kernel.sleep when in the EM reactor, otherwise to plain old ::Kernel.sleep



192
# File 'lib/empathy.rb', line 192

create_delegate_module('Kernel',:sleep,:at_exit)