Sha256: 36f5edc7c3def92d9b57b45e96268f43fe09f883e8c0fba7ca989cadd5a9ac13
Contents?: true
Size: 318 Bytes
Versions: 5
Compression:
Stored size: 318 Bytes
Contents
# encoding: ASCII-8BIT class CalcService2 def initialize(value = 0) @value = value end def set(value) @value = value end def get @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
5 entries across 5 versions & 1 rubygems