Issue #11587 has been reported by Benoit Daloze.

----------------------------------------
Bug #11587: Make OpenStruct#new_ostruct_member and #modifiable fully private API
https://bugs.ruby-lang.org/issues/11587

* Author: Benoit Daloze
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
#6056 made OpenStruct#new_ostruct_member and #modifiable protected,
but they still appear in RDoc and normal user documentation:
http://ruby-doc.org/stdlib-2.2.3/libdoc/ostruct/rdoc/OpenStruct.html#method-i-new_ostruct_member
Also, it seems they should really be private and not just protected.

These methods look like they should be implementation details and therefore be hidden from the user.

Is it fine from a compatibility point of view to make them private and hide them from user documentation?



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