This project is closed and read-only.
Actions
Backport #8108
closedComment 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)
Status:
Closed
Assignee:
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