Project

General

Profile

Actions

Bug #20754

closed

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

Added by Earlopain (Earlopain _) 2 months ago. Updated 2 months 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

Also available in: Atom PDF

Like0
Like0Like0Like0