Class: Celluloid::SyncCall

Inherits:
Call
  • Object
show all
Defined in:
lib/lspace/celluloid.rb

Instance Method Summary collapse

Methods inherited from Call

#initialize, #initialize_without_lspace

Constructor Details

This class inherits a constructor from Celluloid::Call

Instance Method Details

#dispatch(*args, &block) ⇒ Object



17
18
19
# File 'lib/lspace/celluloid.rb', line 17

def dispatch(*args, &block)
  LSpace.enter(@lspace) { dispatch_without_lspace(*args, &block) }
end

#dispatch_without_lspaceObject



15
# File 'lib/lspace/celluloid.rb', line 15

alias_method :dispatch_without_lspace, :dispatch