Issue #5551 has been updated by Yukihiro Matsumoto.

Status changed from Open to Rejected

Array??追????????????????????Enumerator????延??価???????????????????????????幹?????????????????????????????????reject??????????
????????????????????random ideas???????????Ruby?????????????????????????????????????????????????????????????????????説?????????????????????档???????????????????????????????????rdrop???????????????????????????????????Array#rdrop??????????????????????

???????ActiveSupport????????????????????????????????????
----------------------------------------
Feature #5551: Enumerable#rdrop
http://redmine.ruby-lang.org/issues/5551

Author: Tsuyoshi Sawada
Status: Rejected
Priority: Normal
Assignee: 
Category: 
Target version: 


There is Enumerable#drop(n), which drops elements on the left side, but there is no counterpart for dropping the right side. It will be convenient if there is Enumerable#rdrop(n) that drops the elements on the right side.

    [1, 2, 3, 4, 5].rdrop(2) # => [1, 2, 3]

    


-- 
http://redmine.ruby-lang.org