Project

General

Profile

Actions

Bug #5066

closed

Doc Array#delete_at inconsistence fix

Bug #5066: Doc Array#delete_at inconsistence fix

Added by tonini (samuel tonini) over 14 years ago. Updated over 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

Updated by naruse (Yui NARUSE) over 14 years ago Actions #1

  • 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: PDF Atom