Issue #9071 has been updated by Yukihiro Matsumoto.


Accepted.

Matz

----------------------------------------
Feature #9071: Enumerable#slice_after
https://bugs.ruby-lang.org/issues/9071#change-46771

* Author: Tsuyoshi Sawada
* Status: Open
* Priority: Normal
* Assignee: Akira Tanaka
* Category: 
* Target version: 
----------------------------------------
I see in this discussion: http://ruby.11.x6.nabble.com/ruby-dev-38392-Enumerable-gather-each-td3534746.html that `Enumerable#slice_before` was named as such, having in mind the possibility of `Enumerable#slice_after` being implemented in the future. I feel the former convenient, but believe the latter should be as well, and am wondering why the latter was not implemented at the same time. I request it to be implemented.

---Files--------------------------------
slice_after.patch (7.01 KB)
slice_after2.patch (6.87 KB)


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