module BitGirder::Concurrent
Public Class Methods
require_em()
click to toggle source
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.
# File lib/bitgirder/concurrent.rb, line 10 def self.require_em require 'eventmachine' end