Module: Redis::Objects::Counters

Defined in:
lib/redis/objects/counters.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



10
11
12
13
14
# File 'lib/redis/objects/counters.rb', line 10

def self.included(klass)
  klass.instance_variable_set('@initialized_counters', {})
  klass.send :include, InstanceMethods
  klass.extend ClassMethods
end