What is the method used to check if a variable is of a specific class in Ruby?
A. .is_a?
B. .type_of
C. .typeof
D. .class_of
Answer: Option A
Related Questions on Data Types and Variables in Ruby
A. .is_a?
B. .type_of
C. .typeof
D. .class_of
Answer: Option A
Join The Discussion