Project

General

Profile

Backport #8108

Comment in 2.0 doc for creating Arrays is plain wrong (confirmation needed)

Added by steenslag (siep korteling) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:53485]

Description

This does not look right (but I do not have 2.0 installed)
Array.new(3, true) #=> [0, 0, 0]

Should be:
Array.new(3, true) #=> [true, true, true]

Associated revisions

Revision e4811dc6
Added by ktsj (Kazuki Tsujimoto) over 6 years ago

  • array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 39785
Added by ktsj (Kazuki Tsujimoto) over 6 years ago

  • array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]

Revision 39785
Added by ktsj (Kazuki Tsujimoto) over 6 years ago

  • array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]

Revision 39785
Added by ktsj (Kazuki Tsujimoto) over 6 years ago

  • array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]

Revision 39785
Added by ktsj (Kazuki Tsujimoto) over 6 years ago

  • array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]

Revision 39785
Added by ktsj (Kazuki Tsujimoto) over 6 years ago

  • array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]

Revision 39785
Added by ktsj (Kazuki Tsujimoto) over 6 years ago

  • array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]

Revision ff1bd2ba
Added by nagachika (Tomoyuki Chikanaga) over 6 years ago

merge revision(s) 39785: [Backport #8108]

    * array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 40167
Added by nagachika (Tomoyuki Chikanaga) over 6 years ago

merge revision(s) 39785: [Backport #8108]

* array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]

History

#1

Updated by ktsj (Kazuki Tsujimoto) over 6 years ago

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

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


  • array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]
#2

Updated by nagachika (Tomoyuki Chikanaga) over 6 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport200
  • Status changed from Closed to Assigned
  • Assignee set to nagachika (Tomoyuki Chikanaga)
  • Target version deleted (2.1.0)
#3

Updated by nagachika (Tomoyuki Chikanaga) over 6 years ago

  • Status changed from Assigned to Closed

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


merge revision(s) 39785: [Backport #8108]

* array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]

Also available in: Atom PDF