module Sideroo
Constants
- VERSION
Public Class Methods
configure() { |config| ... }
click to toggle source
# File lib/sideroo.rb, line 26 def configure @config = Configuration.new yield(@config) end
redis_client()
click to toggle source
# File lib/sideroo.rb, line 31 def redis_client @config.redis_client end
Public Instance Methods
sdiffstore(destination, *other_keys)
click to toggle source
# File lib/sideroo/types/set.rb, line 20 def sdiffstore(destination, *other_keys) redis_client.sdiffstore(destination, key, *other_keys) end
sdiffstore!(*other_keys)
click to toggle source
Use `self.key` as destination
# File lib/sideroo/types/set.rb, line 25 def sdiffstore!(*other_keys) redis_client.sdiffstore(key, *other_keys) end
sinterstore(destination, *other_keys)
click to toggle source
# File lib/sideroo/types/set.rb, line 29 def sinterstore(destination, *other_keys) redis_client.sinterstore(destination, key, *other_keys) end
sinterstore!(*other_keys)
click to toggle source
Use `self.key` as destination
# File lib/sideroo/types/set.rb, line 34 def sinterstore!(*other_keys) redis_client.sinterstore(key, *other_keys) end
sunionstore(destination, *other_keys)
click to toggle source
# File lib/sideroo/types/set.rb, line 38 def sunionstore(destination, *other_keys) redis_client.sunionstore(destination, key, *other_keys) end
sunionstore!(*other_keys)
click to toggle source
Use `self.key` as destination
# File lib/sideroo/types/set.rb, line 43 def sunionstore!(*other_keys) redis_client.sunionstore(key, *other_keys) end