Q. What is the correct way to define a method in Ruby?
β
Correct Answer: (A)
def method_name(parameters) code end
You must be Logged in to update hint/solution