[ruby-core:96625] [Ruby master Bug#16472] OStruct documentation is lost
From:
zverok.offline@...
Date:
2020-01-02 14:41:34 UTC
List:
ruby-core #96625
Issue #16472 has been reported by zverok (Victor Shepelev). ---------------------------------------- Bug #16472: OStruct documentation is lost https://bugs.ruby-lang.org/issues/16472 * 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>