Make OpenStruct#new_ostruct_member and #modifiable fully private API
#6056 made OpenStruct#new_ostruct_member and #modifiable protected,
but they still appear in RDoc and normal user documentation:
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?
Updated by nobu (Nobuyoshi Nakada) almost 5 years ago
- Status changed from Open to Closed
Applied in changeset r53987.
ostruct.rb: make internal methods private
- lib/ostruct.rb (modifiable?, new_ostruct_member!, table!): rename methods for internal use with suffixes and make private, [ruby-core:71069] [Bug #11587]