Sha256: 7fe3c0e7d3d1b1f37cc24af3303620453ba3a73d48a6377399406547db9f0286
Contents?: true
Size: 524 Bytes
Versions: 9
Compression:
Stored size: 524 Bytes
Contents
# Call the MathService using the ASIR::Transport::Subprocess mixin. $: << File.expand_path("../../../lib", __FILE__) require 'asir' require 'asir/transport/subprocess' require 'math_service' MathService.send(:include, ASIR::Client) Process.exit!(0) if RUBY_PLATFORM =~ /java/i ###################################################################### # Driver: begin MathService.asir.transport = ASIR::Transport::Subprocess.new MathService.asir.transport._log_enabled = true puts MathService.asir.sum([1, 2, 3]) end
Version data entries
9 entries across 9 versions & 1 rubygems