Method: Redis::Distributed#mget
- Defined in:
- lib/redis/distributed.rb
#mget(*keys) ⇒ Object
Get the values of all the given keys as an Array.
344 345 346 347 |
# File 'lib/redis/distributed.rb', line 344 def mget(*keys) keys.flatten!(1) mapped_mget(*keys).values_at(*keys) end |