How can I set the expire time in Redis' ruby client when using mapped_mset?
<p>I am trying to use </p>

<pre><code>redis.mapped_mset({ "f1" =&gt; "v1", "f2" =&gt; "v2" })
</code></pre>

<p>to set multiple keys into <code>Redis</code> and I can not set expire time at the same time.
The only way to set expire time to to use this:</p>

<pre><code>set(key, value, options = {})
</code></pre>

<p>or</p>

<pre><code>expire(key, seconds)
</code></pre>

<p>I have to call many times and this is not what I want to see.
Are there any other ways to solve this problem?</p>