title: How to change the value of a variable in Ruby
body: <p>I am working on a simple blackjack game and am trying to change the value of variable 'dealer_value3' from "A"string to an integer of either 11 or 1 depending on the dealers hand. My current code keeps giving me an error.</p>
  
  <pre><code>if dealer_value3 == "A"
   if dealer_hand1 &lt; 11
    return dealer_value3 = 11
   else
    return dealer_value3 = 1
   end
  end
  </code></pre>