is_a?, kind_of? and instance_of?

is_a?(Class Object) = kind_of?(Class Object), these two methods are synonymous

instance_of?(Class Object) for checking if the object is the instance of the given class

Reference

results matching ""

    No results matching ""