Sha256: cc168db9cee14a71a30439846d088575cf2e92c8ac9bcf2228cd910a33ac5a2f

Contents?: true

Size: 478 Bytes

Versions: 21

Compression:

Stored size: 478 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)

######################################################################
# 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

21 entries across 21 versions & 1 rubygems

Version Path
asir-1.2.1 hack_night/solution/prob-3.rb
asir-1.2.0 hack_night/solution/prob-3.rb
asir-1.1.12 hack_night/solution/prob-3.rb
asir-1.1.11 hack_night/solution/prob-3.rb
asir-1.1.10 hack_night/solution/prob-3.rb
asir-1.1.9 hack_night/solution/prob-3.rb
asir-1.1.8 hack_night/solution/prob-3.rb
asir-1.1.7 hack_night/solution/prob-3.rb
asir-1.1.6 hack_night/solution/prob-3.rb
asir-1.1.5 hack_night/solution/prob-3.rb
asir-1.1.4 hack_night/solution/prob-3.rb
asir-1.1.3 hack_night/solution/prob-3.rb
asir-1.1.2 hack_night/solution/prob-3.rb
asir-1.1.1 hack_night/solution/prob-3.rb
asir-1.1.0 hack_night/solution/prob-3.rb
asir-1.0.8 hack_night/solution/prob-3.rb
asir-1.0.7 hack_night/solution/prob-3.rb
asir-1.0.6 hack_night/solution/prob-3.rb
asir-1.0.5 hack_night/solution/prob-3.rb
asir-1.0.4 hack_night/solution/prob-3.rb