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.
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.
本文档使用 全库网 构建