Issue #8108 has been reported by steenslag (siep korteling).

----------------------------------------
Bug #8108: Comment in 2.0 doc for creating Arrays is plain wrong (confirmation needed)
https://bugs.ruby-lang.org/issues/8108

Author: steenslag (siep korteling)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: current: 2.1.0
ruby -v: 2.1.0


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]


-- 
http://bugs.ruby-lang.org/