Q. Which method is used to extract all occurrences of a pattern in a string in Ruby?
β
Correct Answer: (A)
String#scan
You must be Logged in to update hint/solution