Project

General

Profile

Actions

Bug #20754

closed

[doc] `Hash::new` is missing from rdoc for 3.4

Added by Earlopain (A S) about 1 month ago. Updated about 1 month ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:119251]

Description

I was interested in the capacity argument added in https://github.com/ruby/ruby/pull/10357 but found any reference to it missing from https://docs.ruby-lang.org/en/master/Hash.html

::new just links to docs from BasicObject. Docs for 3.3 contain the proper new method: https://docs.ruby-lang.org/en/3.3/Hash.html#method-c-new

Maybe it has something to do with it moving into ruby code? Not sure. I haven't checked other classes that moved into ruby.

Actions #1

Updated by byroot (Jean Boussier) about 1 month ago

  • Backport changed from 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN to 3.1: DONTNEED, 3.2: DONTNEED, 3.3: DONTNEED
Actions #2

Updated by nobu (Nobuyoshi Nakada) about 1 month ago

  • Status changed from Open to Closed

Applied in changeset commit:git|f82618578666ee720bdc0ec8e4aeace541f2d953.


[Bug #20754] Document in hash.rb

Updated by Earlopain (A S) about 1 month ago

What a simple fix, now I know myself. Thank you!

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0