Module: Droid::EMTimerUtils

Included in:
Droid
Defined in:
lib/droid/em.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
# File 'lib/droid/em.rb', line 3

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#periodic_timer(*args, &blk) ⇒ Object



53
# File 'lib/droid/em.rb', line 53

def periodic_timer(*args, &blk); self.class.periodic_timer(*args, &blk); end

#timer(*args, &blk) ⇒ Object



52
# File 'lib/droid/em.rb', line 52

def timer(*args, &blk); self.class.timer(*args, &blk); end