Class: RedisFeed::DB

Inherits:
Object
  • Object
show all
Defined in:
lib/redis_feed/db.rb

Class Method Summary collapse

Class Method Details

.method_missing(method, *args) ⇒ Object

, &block)

Raises:



5
6
7
8
9
# File 'lib/redis_feed/db.rb', line 5

def self.method_missing method, *args #, &block)
  raise NoRedisError unless Config.redis

  Config.redis.send method, *args
end