Q. What is the main purpose of a constructor in a Ruby class?
β
Correct Answer: (D)
To initialize instance variables
You must be Logged in to update hint/solution