Today I figured out out Ruby's string class has a .to function that replaces text like a charm. Saves time when compared with, having to iterate over a string and replace them one by one. Thanks to exercism.io
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Today I figured out out Ruby's string class has a
.to
function that replaces text like a charm. Saves time when compared with, having to iterate over a string and replace them one by one. Thanks to exercism.io