is_a « Reflection « Ruby





1.Use is_a to check the class type