.is_an? should be an alias for .is_a? to be used in the case of a class that starts with a vowel sound.
if @foo.is_an?(Apple)
.is_an? should be an alias for .is_a? to be used in the case of a class that starts with a vowel sound.
if @foo.is_an?(Apple)