Thanks again for all replies as it has helped me to wrap my head around some of the problems that I've experienced. Say we wanted to write our own replace method and not use the replace method provided by the String class? So we want to write a method that takes a string object and modifies/mutates that same object and then returns it, without creating a copy of that object. -- Posted via http://www.ruby-forum.com/.