Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #5088
| From | "jay s." <solomon.jas@gmail.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Method that mutates object |
| Date | 2011-05-26 08:56 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <83f24a3dcb1393dc972a306e2d05d5ed@ruby-forum.com> (permalink) |
| References | <9004f010954dd5cee76c02c11f61ad58@ruby-forum.com> |
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/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Method that mutates object jason solomon <solomon.jas@gmail.com> - 2011-05-25 14:22 -0500
Re: Method that mutates object Stefano Crocco <stefano.crocco@alice.it> - 2011-05-25 14:28 -0500
Re: Method that mutates object jason solomon <solomon.jas@gmail.com> - 2011-05-25 15:52 -0500
Re: Method that mutates object Adam Prescott <adam@aprescott.com> - 2011-05-25 14:31 -0500
Re: Method that mutates object Quintus <sutniuq@gmx.net> - 2011-05-25 15:45 -0500
Re: Method that mutates object jason solomon <solomon.jas@gmail.com> - 2011-05-25 16:03 -0500
Re: Method that mutates object jason solomon <solomon.jas@gmail.com> - 2011-05-25 15:59 -0500
Re: Method that mutates object Brian Candler <b.candler@pobox.com> - 2011-05-25 16:20 -0500
Re: Method that mutates object "jay s." <solomon.jas@gmail.com> - 2011-05-25 16:36 -0500
Re: Method that mutates object 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-25 17:00 -0500
Re: Method that mutates object "jay s." <solomon.jas@gmail.com> - 2011-05-26 08:56 -0500
Re: Method that mutates object Jeremy Bopp <jeremy@bopp.net> - 2011-05-26 09:43 -0500
Re: Method that mutates object "jay s." <solomon.jas@gmail.com> - 2011-05-26 10:00 -0500
Re: Method that mutates object Josh Cheek <josh.cheek@gmail.com> - 2011-05-26 13:12 -0500
Re: Method that mutates object "jay s." <solomon.jas@gmail.com> - 2011-05-26 10:55 -0500
Re: Method that mutates object "jay s." <solomon.jas@gmail.com> - 2011-05-26 11:07 -0500
Re: Method that mutates object Jeremy Bopp <jeremy@bopp.net> - 2011-05-26 11:14 -0500
Re: Method that mutates object "jay s." <solomon.jas@gmail.com> - 2011-05-26 11:30 -0500
Re: Method that mutates object Gary Wright <gwtmp01@mac.com> - 2011-05-26 16:34 -0500
Re: Method that mutates object Adam Prescott <adam@aprescott.com> - 2011-05-27 10:57 -0500
Re: Method that mutates object Christopher Dicely <cmdicely@gmail.com> - 2011-05-28 13:05 -0500
Re: Method that mutates object Gary Wright <gwtmp01@mac.com> - 2011-05-28 19:29 -0500
Re: Method that mutates object Gary Wright <gwtmp01@mac.com> - 2011-05-28 21:06 -0500
csiph-web