Q. Which method returns all the keys from a hash in Ruby?
β
Correct Answer: (A)
keys
Explanation: The keys method returns all keys of a hash.