3 Awesome Ways To Use Ruby’s Gsub Method
Did you know that you can use regular expressions with gsub? Ok, maybe you know that, but how about using a regular expression AND a block? That’s when it starts to get interesting. Read this article for examples: https://www.rubyguides.com/2019/07/ruby-gsub-method/
Post a comment