[ruby-core:96635] [Ruby master Bug#16472] OStruct documentation is lost

[email protected] Thu, 02 Jan 2020 19:06:10 +0000 (UTC)
Newsgroups gmane.comp.lang.ruby.core
Message-ID <redmine.journal-83604.20200102190610.1fc32d0338843a05@ruby-lang.org>
Issue #16472 has been updated by marcandre (Marc-Andre Lafortune).


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

I will update `ruby/ostruct`

----------------------------------------
Bug #16472: OStruct documentation is lost
https://bugs.ruby-lang.org/issues/16472#change-83604

* Author: zverok (Victor Shepelev)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
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)?..



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>