From: Edoardo Rossi Date: 2013-02-14T22:02:20+09:00 Subject: Re: Best DRY way to write bang versions of methods? On Thu, Feb 14, 2013 at 1:49 PM, Joel Pearson wrote: > That's an interesting way to do it. If I assume that any bang method I > write in a given class would also have a non-bang method, then I could > easily have a catch-all process define the methods for me when an > instance is generated. Cool! > > -- > Posted via http://www.ruby-forum.com/. > Yup! Hope this helps... happy hacking. By the way... pay attention at all the consequences of 'dup' See: http://ruby-doc.org/core-1.9.3/Object.html#method-i-dup e.