Sha256: b2707ba3629288c557bdd91c82395ae7fe67bd76d0b364b228e469d691caf183

Contents?: true

Size: 417 Bytes

Versions: 30

Compression:

Stored size: 417 Bytes

Contents

# Call the MathService using the ASIR::Transport::Subprocess mixin.

$: << File.expand_path("../../../lib", __FILE__)
require 'asir'

require 'math_service'
MathService.send(:include, ASIR::Client)

######################################################################
# Driver:

begin
  MathService.asir.transport = # ??? 
  MathService.asir.transport._log_enabled = true
  puts MathService.asir.sum([1, 2, 3])
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
asir-1.2.11 hack_night/exercise/prob-3.rb
asir-1.2.10 hack_night/exercise/prob-3.rb
asir-1.2.9 hack_night/exercise/prob-3.rb
asir-1.2.8 hack_night/exercise/prob-3.rb
asir-1.2.7 hack_night/exercise/prob-3.rb
asir-1.2.6 hack_night/exercise/prob-3.rb
asir-1.2.5 hack_night/exercise/prob-3.rb
asir-1.2.3 hack_night/exercise/prob-3.rb
asir-1.2.2 hack_night/exercise/prob-3.rb
asir-1.2.1 hack_night/exercise/prob-3.rb
asir-1.2.0 hack_night/exercise/prob-3.rb
asir-1.1.12 hack_night/exercise/prob-3.rb
asir-1.1.11 hack_night/exercise/prob-3.rb
asir-1.1.10 hack_night/exercise/prob-3.rb
asir-1.1.9 hack_night/exercise/prob-3.rb
asir-1.1.8 hack_night/exercise/prob-3.rb
asir-1.1.7 hack_night/exercise/prob-3.rb
asir-1.1.6 hack_night/exercise/prob-3.rb
asir-1.1.5 hack_night/exercise/prob-3.rb
asir-1.1.4 hack_night/exercise/prob-3.rb