From: "Hal E. Fulton" Date: 2003-03-28T01:58:00+09:00 Subject: Re: Anyone ever confused by Array#slice! method? ----- Original Message ----- From: "Yukihiro Matsumoto" To: "ruby-talk ML" 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