From: Suraj Kurapati Date: 2011-07-15T05:00:44+09:00 Subject: [ruby-core:38069] [Ruby 1.9 - Feature #5009] Bang method (!) consistency in Ruby 2 API Issue #5009 has been updated by Suraj Kurapati. Interesting, the Rails' save/save! example makes sense. And why worry about keeping backwards compatibility? Ruby 2 can break it, in the interest of removing cruft. ---------------------------------------- Feature #5009: Bang method (!) consistency in Ruby 2 API http://redmine.ruby-lang.org/issues/5009 Author: Suraj Kurapati Status: Open Priority: Normal Assignee: Category: Target version: 2.0 =begin Hello, In Ruby 2, please use bang methods (those that end with !) consistently in the API. For example, the Ruby 1 API inconsistently names the following "destructive" methods plainly (without a bang): * Array#push * Array#pop * Array#shift * Array#unshift * Array#concat * Array#delete * Array#clear Please convert these into bang methods in the Ruby 2 API. Thanks for your consideration. =end -- http://redmine.ruby-lang.org