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