Module: SuckerPunch::Counter::Utilities

Included in:
Busy, Failed, Processed
Defined in:
lib/sucker_punch/counter.rb

Instance Method Summary collapse

Instance Method Details

#decrementObject


12
13
14
# File 'lib/sucker_punch/counter.rb', line 12

def decrement
  @counter.decrement
end

#incrementObject


8
9
10
# File 'lib/sucker_punch/counter.rb', line 8

def increment
  @counter.increment
end

#valueObject


4
5
6
# File 'lib/sucker_punch/counter.rb', line 4

def value
  @counter.value
end