method

instance_of?

v1_8_6_287 - 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?.