title: Is it possible to use parallel assignment for keys in Ruby hash?
body: <p>Given that it is an immutable object, ruby allows paraller assignments as this: </p>
  
  <pre><code>sample[:alpha] = sample[:beta] = sample[:gamma] = 0
  </code></pre>
  
  <p>But is there any other simple way to do this? , something like :</p>
  
  <pre><code>sample[alpha:, beta:, gamma: =&gt; 0]
  </code></pre>
  
  <p>or:</p>
  
  <pre><code>sample[:alpha, :beta, :gamma] =&gt; 0, 0, 0 
  </code></pre>