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

[email protected] Thu, 02 Jan 2020 22:05:08 +0000 (UTC)
Newsgroups gmane.comp.lang.ruby.core
Message-ID <redmine.journal-83605.20200102220508.4a568476bbdad66f@ruby-lang.org>
Issue #16472 has been updated by zverok (Victor Shepelev).


@marcandre, got it, thanks. https://github.com/ruby/ruby/pull/2810

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

* 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>