Am 05.07.2013 23:21, schrieb Robert Klemme:
> Duh.  No, you're not missing anything here.  The only defense I have for
> the other form I have is that it is independent of the return value of
> #meth! - if you think of String#gsub! for example then your short
> version will not work because sometimes that method will return nil.
>   That's probably the reason I made my form a habit. :-)

A very good point. The `self` in the bang method is probably not
too unlikely to be forgotten.

Thanks for sharing!


-- 
<https://github.com/stomar/>