From: Ryan Davis Date: 2010-11-02T18:26:48+09:00 Subject: Re: get method name when aliasing On Nov 2, 2010, at 02:13 , Rahul Kumar wrote: > I might land up having quite a lot of such methods, so i'd rather not > make multiple methods with "!" calling the original ones. Why not? What's wrong with that? And if you're just at "might", why are you bothering? I guess I should also point out that generally it is the non-bang methods that call the bang versions: class String def strip! # mutate accordingly end def strip self.dup.strip! end end I don't see anything wrong with that implementation. It is easy to understand and doesn't carry the ridiculous overhead of overly clevar code.