Class: FancyCount::RedisAdapter
- Defined in:
- lib/fancy_count/redis_adapter.rb
Instance Method Summary collapse
Methods inherited from Adapter
#change, #decrement, #delete, #increment, #initialize, #reset, #value
Constructor Details
This class inherits a constructor from FancyCount::Adapter
Instance Method Details
#counter ⇒ Object
5 6 7 |
# File 'lib/fancy_count/redis_adapter.rb', line 5 def counter @counter ||= Redis::Counter.new(@name) end |