- Some bang methods return nil if the object is
not actually changed: gsub!, delete!, others.All but reverse!, sort!, and exit!
- Now here’s a trivia question. What bang method
appears in two different core modules and (it
could be argued) does not really change its
receiver? (OK, in a way it does. Don’t quibble with
me.)exit! does not modify anything. Its ! means “more dangerous”
than non bang version.
In this regard, can any kind soul post any docs/wikis on all banged methods
(and their accompanying quirks if any)…
kind regards -botp