From: "nobu (Nobuyoshi Nakada)" Date: 2013-10-15T15:58:10+09:00 Subject: [ruby-core:57868] [CommonRuby - Feature #9023] Array#tail Issue #9023 has been updated by nobu (Nobuyoshi Nakada). How about to extend Array#last (and Array#first too) to accept negative size? ---------------------------------------- Feature #9023: Array#tail https://bugs.ruby-lang.org/issues/9023#change-42464 Author: fuadksd (Fuad Saud) Status: Open Priority: Normal Assignee: Category: Target version: I propose the addition of a `tail` method to the Array class that returns all elements but the first. It is a pretty common pattern in functional programming, but not limited to - I use it extensively in all kinds of apps/gems. The implementation would be pretty trivial, I won't risk a patch to MRI because I'm uninitiated on ruby core matters, but powerpack gem (http://github.com/bbatsov/powerpack) implements it in ruby in terms of slices. -- http://bugs.ruby-lang.org/