From: Michael Klishin Date: 2011-07-10T06:21:01+09:00 Subject: [ruby-core:37935] [Ruby 1.9 - Feature #5009] Bang method (!) consistency in Ruby 2 API Issue #5009 has been updated by Michael Klishin. If this is a proposal for renaming aforementioned methods, it will break a lot of existing code. If the idea is to add aliases, it will introduce Ruby 2-specific methods that will not be used for a really long time by developers who want to maintain compatibility with multiple Ruby versions. ---------------------------------------- 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