Class: Communicator

Inherits:
Object
  • Object
show all
Defined in:
lib/processengine/communicator.rb

Constant Summary collapse

@@instance =
Communicator.new

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.instanceObject



10
11
12
# File 'lib/processengine/communicator.rb', line 10

def self.instance
  @@instance
end

Instance Method Details

#handle(session, process, params) ⇒ Object



14
15
16
17
# File 'lib/processengine/communicator.rb', line 14

def handle(session,process,params)
  eng = PEngine.new
  eng.push(session,process,params)
end