Q. How do you check the class of an object in Ruby?
β
Correct Answer: (A)
object.class
Explanation: Calling .class on an object returns its class.