Sha256: 271a98b06227b1697734701d49e25152a61bc3a118cb6cd2bfcd033bdd6ea8ac

Contents?: true

Size: 214 Bytes

Versions: 3

Compression:

Stored size: 214 Bytes

Contents

# encoding: utf-8
$:.push("./lib")

class Foo
    def subtract(x, y)
        x - y
    end
end


require "qrpc/server"
server = QRPC::Server::new(Foo::new)
server.listen! QRPC::Locator::new("test"), :max_jobs => 0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
qrpc-0.3.1 test-server.rb
qrpc-0.3.0 test-server.rb
qrpc-0.2.2 test-server.rb