title: How to convert Fixnum to Integer in ruby
body: <p>I am trying to get Integers, but i am getting 'Fixnum' values.</p>
  
  <p>For Eg:</p>
  
  <pre><code>arr = ["1", "2", "3", "4"]
  arr.each do |a|
  m = a.to_i
  m.class.name
  
  Result
  =&gt; Fixnum
  </code></pre>
  
  <p>According to the above example, how can i get Integer values?
  Fixnum is a Integer only but while implementing one plugin, it will through an error like 'Please enter only integer'.</p>