Sha256: 69c2a19f1368b9131ba006e557b123764e6eb5908822bf90c5b5d11d2a121ce9
Contents?: true
Size: 341 Bytes
Versions: 34
Compression:
Stored size: 341 Bytes
Contents
#!/usr/bin/env ruby require 'soap/rpc/standaloneServer' require 'calc' class CalcServer < SOAP::RPC::StandaloneServer def initialize(*arg) super servant = CalcService add_servant(servant, 'http://tempuri.org/calcService') end end if $0 == __FILE__ status = CalcServer.new('CalcServer', nil, '0.0.0.0', 17171).start end
Version data entries
34 entries across 34 versions & 13 rubygems