From: Yui NARUSE Date: 2011-07-16T00:29:55+09:00 Subject: [ruby-core:38078] [Ruby 1.9 - Feature #5009][Closed] Bang method (!) consistency in Ruby 2 API Issue #5009 has been updated by Yui NARUSE. Status changed from Open to Closed Close this; force_encoding is another problem. ---------------------------------------- Feature #5009: Bang method (!) consistency in Ruby 2 API http://redmine.ruby-lang.org/issues/5009 Author: Suraj Kurapati Status: Closed 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