Sha256: 2072be2884f23b264a0acffa40f827783ae531832abc127065cdf8c489bcf3a4
Contents?: true
Size: 309 Bytes
Versions: 6
Compression:
Stored size: 309 Bytes
Contents
class Counter::Conditions attr_accessor :increment_conditions, :decrement_conditions def initialize @increment_conditions = [] @decrement_conditions = [] end def increment_if block increment_conditions << block end def decrement_if block decrement_conditions << block end end
Version data entries
6 entries across 6 versions & 1 rubygems