From: Yui NARUSE Date: 2011-07-10T16:51:44+09:00 Subject: [ruby-core:37964] [Ruby 1.9 - Feature #5009] Bang method (!) consistency in Ruby 2 API Issue #5009 has been updated by Yui NARUSE. -1 ActiveRecord's save/save! is also a good example. ---------------------------------------- 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