----- Original Message ----- From: "Yukihiro Matsumoto" <matz / ruby-lang.org> To: "ruby-talk ML" <ruby-talk / ruby-lang.org> Sent: Thursday, March 27, 2003 1:44 AM Subject: Re: Anyone ever confused by Array#slice! method? > |3. Some bang methods return nil if the object is > |not actually changed: gsub!, delete!, others. > > All but reverse!, sort!, and exit! > > |4. 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. But of course you know all this, Matz. :) I didn't mean to induce you to reply to this. But thanks. Hal