delegate
delegate copied to clipboard
SimpleDelegator documentation missing in ruby-docs.org
Since 3.0.0, the library documentation is only partially rendered. Neither SimpleDelegator nor
the DelegateClass kernel method appear in the documentation.
https://ruby-doc.org/stdlib-3.0.0/libdoc/delegate/rdoc/Delegator.html https://ruby-doc.org/stdlib-3.0.1/libdoc/delegate/rdoc/Delegator.html https://ruby-doc.org/stdlib-3.0.2/libdoc/delegate/rdoc/Delegator.html
I'm not sure if splitting it into one file per top-level definition would solve it, but it might be the case that ruby-docs does not support several top-level definitions in the same file?
Thanks for reporting, I came here to say the same thing!
FYI: https://bugs.ruby-lang.org/issues/19304
I open this repo, see a brief README and description "This library provides three different ways to delegate method calls to an object.", but hey, I would ask: what are those three ways? What is it all about? There should be a link.