Q. Which method in Ruby is used to remove and return the last element of an array?
β
Correct Answer: (A)
pop
You must be Logged in to update hint/solution