Project

General

Profile

Actions

Backport #8108

closed

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

Added by steenslag (siep korteling) about 11 years ago. Updated about 11 years ago.


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]

Actions #1

Updated by ktsj (Kazuki Tsujimoto) about 11 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.


Actions #2

Updated by nagachika (Tomoyuki Chikanaga) about 11 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)
Actions #3

Updated by nagachika (Tomoyuki Chikanaga) about 11 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]
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0