# IPC クライアント require "al_worker_ipc" AlWorker::Ipc.open( "/tmp/ipc_server" ) { |ipc| puts "IPC command: idle. ret: " + ipc.call( "idle" ).to_s puts "IPC command: hello. ret: " + ipc.call( "hello" ).to_s puts "IPC command: upper with param {'A'=>'dog','B'=>'Cat'} ret: " + ipc.call( "upper", {'A'=>'dog','B'=>'Cat'} ).to_s }