Home Tags Scan

Tag: scan

Using Ruby’s Scan Method to Transform Strings

In the last post, I came across the line below that worked fine but I wanted to make it more compact and introduce some reusability for the future. The problem that needed to be solved...