Sha256: 409edc99f796aa618109f263cb84f95420bd22054d6edbe72c95c0d9e3ca40ca
Contents?: true
Size: 364 Bytes
Versions: 15
Compression:
Stored size: 364 Bytes
Contents
#!/usr/bin/env ruby # encoding: ASCII-8BIT 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
15 entries across 15 versions & 9 rubygems