From: mame@... Date: 2019-08-14T08:51:49+00:00 Subject: [ruby-core:94346] [Ruby master Feature#6727] Add Array#rest (with implementation) Issue #6727 has been updated by mame (Yusuke Endoh). Status changed from Assigned to Feedback Now we have an endless range which allows us to write `arr[1..]`. It is much less hideous than `arr[1..-1]`, IMO. Do you still want `Array#rest`? ---------------------------------------- Feature #6727: Add Array#rest (with implementation) https://bugs.ruby-lang.org/issues/6727#change-80749 * Author: duckinator (Marie Markwell) * Status: Feedback * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: ---------------------------------------- =begin I run into many instances where I end up using (({arr[1..-1]})), so I decided to add (({arr.rest})) to make that a bit less hideous. Branch on github: (()) Patch: (()) Diff: (()) =end -- https://bugs.ruby-lang.org/ Unsubscribe: