Sha256: f43da70f1be69b3861cc417d7b0cf73cd6b48d8619b2ecd3a28f3177db29c0d4

Contents?: true

Size: 307 Bytes

Versions: 34

Compression:

Stored size: 307 Bytes

Contents

class CalcService2
  def initialize(value = 0)
    @value = value
  end

  def set_value(value)
    @value = value
  end

  def get_value
    @value
  end

  def +(rhs)
    @value + rhs
  end

  def -(rhs)
    @value - rhs
  end

  def *(rhs)
    @value * rhs
  end

  def /(rhs)
    @value / rhs
  end
end

Version data entries

34 entries across 34 versions & 13 rubygems

Version Path
mumboe-soap4r-1.6.0.pre.beta test/soap/calc/calc2.rb
DefV-soap4r-1.5.8.2 test/soap/calc/calc2.rb
mumboe-soap4r-1.5.8.7 test/soap/calc/calc2.rb
teo-soap4r-1.5.9b test/soap/calc/calc2.rb
mumboe-soap4r-1.5.8.6 test/soap/calc/calc2.rb
soap4r-spox-1.6.0 test/soap/calc/calc2.rb
soap4r-r19-1.5.9 test/soap/calc/calc2.rb
mumboe-soap4r-1.5.8.5 test/soap/calc/calc2.rb
soap4r-ruby1.9-2.0.5 test/soap/calc/calc2.rb
soap4r-sgonyea-1.6.0 test/soap/calc/calc2.rb
soap4r-straightjacket-1.5.9 test/soap/calc/calc2.rb
soap4r-straightjacket-1.5.8 test/soap/calc/calc2.rb
soap4r-ruby1.9-2.0.3 test/soap/calc/calc2.rb
soap4r-ruby1.9-2.0.2 test/soap/calc/calc2.rb
soap4r-ruby1.9-2.0.1 test/soap/calc/calc2.rb
mumboe-soap4r-1.5.8.4 test/soap/calc/calc2.rb
soap4r-ruby1.9-2.0.0 test/soap/calc/calc2.rb
hands-soap4r-1.5.8.4 test/soap/calc/calc2.rb
soap4r-ruby1.9-1.0.0 test/soap/calc/calc2.rb
snaury-soap4r-1.5.8.1 test/soap/calc/calc2.rb