Project

General

Profile

Actions

Bug #5216

closed

added some clarification to Array.new method

Added by johnnymugs (Jonathan Mukai) over 12 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
-
ruby -v:
1.9.2
Backport:
[ruby-core:39053]

Description

Wasn't sure if the call-seq section needed to be updated. Doc was referencing first through fourth forms, but then buried the "final" form kinda deep in some code. Added all four forms, then added return values for all but the most obvious calls.


Files

Actions #1

Updated by drbrain (Eric Hodel) over 12 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r33388.
Jonathan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • array.c (rb_ary_initialize): Add output for examples. Patch by
    Jonathan Mukai. [Ruby 1.9 - Bug #5216]

Updated by drbrain (Eric Hodel) over 12 years ago

The call-seq covers all four examples, so it is fine.

Actions

Also available in: Atom PDF

Like0
Like0Like0