Gsub! return nil?

https://eval.in/389060

why return nil ?
very surprise.

What about reading docs to String#gsub! first ?

I’m sure you’d be surprised no more :wink:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs