Project

General

Profile

Actions

Feature #14033

open

Add String#append

Added by sos4nt (Stefan Schüßler) about 7 years ago. Updated over 6 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:83399]

Description

Ruby 2.5 introduces Array#append as an alias for << / push.

Likewise, there should be String#append as an alias for << / concat. The documentation for << even says "append":

Append—Concatenates the given object to str. [...]

And String already has a prepend method.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0