title: Label Ruby One letter
body: <p>I am trying to figure this out. I am working on a ruby code where in I want to label each array item where in users can just type 1 letter such as l for lego and so on and it will accept that and validates/check that on the code inside the array.</p>
  
  <pre><code>MY_CHOICES = %w(lego violin xray)
  
  l = "lego"
  v = "violin"
  x = "xray"
  
  print "Choose one: #{MY_CHOICES.join(', ')} "
  choice = gets.chomp
  
  if MY_CHOICES.include?(choice)
    break
  else
    puts "That is not included there."
  end
  </code></pre>
  
  <p>Any idea how to do it? Sorry newbie here.</p>