module Empathy::EM
Constants
- ThreadError
Thread
like errors are actually raw Fiber errors
Public Class Methods
empathise(*modules)
click to toggle source
Create alias constants in each of the supplied modules so that code within those modules will use modules from the Empathy::EM
namespace instead of the native ruby ones
Also monkey patches {Object} to provide EM
safe Kernel
methods @return [void]
# File lib/empathy/em/thread.rb, line 20 def self.empathise(*modules) modules.each do |m| Empathy::map_classes(m,self) end end