Project

General

Profile

Bug #4858

array.drop() doc change in array.c

Added by caleywoods (Caley Woods) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
1.9.2 -p180
Backport:
[ruby-core:36892]

Description

I made the following change to the array.drop documentation:

  • Drops first n elements from ary, and returns rest elements
  • in an array.

    • Drops first n elements from ary. and returns the rest of the
    • elements in an array.

I know this isn't std lib but seems like a useful, small change. Originally submitted pull request on GitHub but closed it there, hoping for faster acceptance through redmine.


Files

#1

Updated by drbrain (Eric Hodel) over 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r32138.
Caley, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • array.c (rb_ary_drop): Improve documentation. Patch by Caley Woods. [Ruby 1.9 - Bug #4858]

Also available in: Atom PDF