Comment in 2.0 doc for creating Arrays is plain wrong (confirmation needed)
This does not look right (but I do not have 2.0 installed)
Array.new(3, true) #=> [0, 0, 0]
Array.new(3, true) #=> [true, true, true]
Updated by ktsj (Kazuki Tsujimoto) over 7 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]
Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago
- Status changed from Assigned to Closed