Method: Redis#hmset
- Defined in:
- lib/redis.rb
#hmset(key, *attrs) ⇒ Object
Set multiple hash fields to multiple values.
742 743 744 745 746 |
# File 'lib/redis.rb', line 742 def hmset(key, *attrs) synchronize do @client.call [:hmset, key, *attrs] end end |