Project

General

Profile

Actions

Bug #5066

closed

Doc Array#delete_at inconsistence fix

Added by tonini (samuel tonini) almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
1.9.*
Backport:
[ruby-core:38310]

Description

=begin
The documentation for the #delete_at method is inconsistent concerning the example array initialization. For all array examples brackets are used for the creation, except the #delete_at is uses the '%w' flavor.
In terms of a consistent documentation i would recommend to revise this.

Pull Request on Github => https://github.com/ruby/ruby/pull/34
=end

Actions #1

Updated by naruse (Yui NARUSE) almost 14 years ago

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

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


  • array.c (rb_ary_delete_at_m): use simple array literal in rdoc.
    patched by samuel tonini. [ruby-core:38310] [Bug #5066]
Actions

Also available in: Atom PDF

Like0
Like0