method

instance_of?

v1_9_2_180 - Show latest stable - Class: Object
instance_of?(p1)
public

Returns true if obj is an instance of the given class. See also Object#kind_of?.