Project

General

Profile

Bug #16472

OStruct documentation is lost

Added by zverok (Victor Shepelev) 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:96625]

Description

After this commit: https://github.com/ruby/ruby/commit/9be3295d53b6fd9f8a3ad8157aa0655b1976d8ac -- RDoc loses documentation attahed to OpenStruct class, see https://docs.ruby-lang.org/en/master/OpenStruct.html, which currently looks this way:

class OpenStruct
<here shoud be explanations>
Public Class Methods

require should be put above docs.

I'd provide PR myself, but I kinda lost between core repository and https://github.com/ruby/ostruct (which seems outdated)?..

Updated by marcandre (Marc-Andre Lafortune) 9 months ago

You're welcome to provide a PR on the core repo.

I will update ruby/ostruct

#3

Updated by znz (Kazuhiro NISHIYAMA) 9 months ago

  • Status changed from Open to Closed

Also available in: Atom PDF