kind_of « Reflection « Ruby






1.determine our object's class and its unique objectID and test its relationship to other classes.
2.use Object's is_a? or kind_of? methods (they are synonyms)
3.Return value based on parameter type