Method: Redis::Commands::SortedSets#zmscore
- Defined in:
- lib/redis/commands/sorted_sets.rb
#zmscore(key, *members) ⇒ Array<Float>
Get the scores associated with the given members in a sorted set.
234 235 236 237 238 |
# File 'lib/redis/commands/sorted_sets.rb', line 234 def zmscore(key, *members) send_command([:zmscore, key, *members]) do |reply| reply.map(&Floatify) end end |