is_a?

    It is a pseudo-method because the compiler knows about it and it can affect type information, as explained in if var.is_a?(…). Also, it accepts a that must be known at compile-time as its argument.