title: How do I get random element from an Array in Crystal Lang?
body: <p>If I have an array of elements, how do I get a random one from the collection?</p>
  <p>For example:</p>
  <pre><code>my_array = [1,2,3,4,5,6,7,8]
  
  # how to get a random value now?
  </code></pre>