Method: Conflow::Redis::HashField#merge
- Defined in:
- lib/conflow/redis/hash_field.rb
#merge(hash) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Merges hashes, similar to Hash#merge
16 17 18 |
# File 'lib/conflow/redis/hash_field.rb', line 16 def merge(hash) command :hmset, [key, hash.flatten] end |