title: ruby assign hex value to string
body: <p>This code is working on the older versions   1.8.X </p>
  
  <pre><code> @buff1 = "12"
   @buff1[0] = 0x0b                                   
   @buff1[1] = 0x0e
  </code></pre>
  
  <p>I have udpated small part of code . Please have a look again. because in <code>1.8.6</code> I get <code>"\016\v"</code>  as output and in <code>1.9.3</code> showing error <code>TypeError: can't convert Fixnum into String</code></p>
  
  <p>Please provide solution for 1.9.3</p>