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:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>