Project

General

Profile

This project is closed and read-only.

Actions

Backport #8108

closed

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

Backport #8108: Comment in 2.0 doc for creating Arrays is plain wrong (confirmation needed)

Added by steenslag (siep korteling) over 13 years ago. Updated over 13 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

Also available in: PDF Atom