Project

General

Profile

Actions

Feature #5009

closed

Bang method (!) consistency in Ruby 2 API

Added by sunaku (Suraj Kurapati) over 13 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
[ruby-core:37933]

Description

=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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0