Issue #12333 has been updated by Satoru Horie.


I will try to write a patch for it!

----------------------------------------
Feature #12333: `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
https://bugs.ruby-lang.org/issues/12333#change-58426

* Author: Tsuyoshi Sawada
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
I would like `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments

~~~ruby
s = ""
s.concat("a", "b", "c")
a.prepend("A", "B", "C")
s # => "ABCabc"

a = []
a.concat(["a"], ["b", "c"])
a # => ["a", "b", "c"]
~~~



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>