Function to find object type in Ruby
<p>I want to know if there is any ruby function or method to find out the type of object (<code>Integer</code>, <code>String</code>, <code>Symbol</code>, etc.).</p>