Class: PulseMeter::CommandAggregator::Sync

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/pulse_meter/command_aggregator/sync.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args, &block) ⇒ Object



12
13
14
# File 'lib/pulse_meter/command_aggregator/sync.rb', line 12

def method_missing(*args, &block)
  redis.send(*args, &block)
end

Instance Method Details

#redisObject



8
9
10
# File 'lib/pulse_meter/command_aggregator/sync.rb', line 8

def redis
  PulseMeter.redis
end