Skip to content

Exclude _xmlschema from RDoc#68

Merged
nobu merged 1 commit into
ruby:masterfrom
kanutocd:fix/xmlschema-rdoc
Jul 20, 2026
Merged

Exclude _xmlschema from RDoc#68
nobu merged 1 commit into
ruby:masterfrom
kanutocd:fix/xmlschema-rdoc

Conversation

@kanutocd

@kanutocd kanutocd commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Exclude the private _xmlschema implementations from RDoc using :nodoc:.

After _xmlschema was split into version-dependent definitions, Ruby core's RDoc coverage check reports the private helper as undocumented.

Since _xmlschema is an internal implementation detail rather than part of the public API, mark both definitions with :nodoc: so they are excluded from generated documentation.

Validation

  • bundle exec rake passes in ruby/time.
  • The change was also validated in a ruby/ruby checkout with:
make XRUBY=ruby RDOC_DEPENDS= RBCONFIG=update-rbconfig rdoc-coverage

which restores 100% documentation coverage.

Originally submitted as ruby/ruby#17977, then moved here because lib/time.rb is maintained in ruby/time.

@kanutocd kanutocd changed the title [ruby/time] Exclude _xmlschema from RDoc Exclude _xmlschema from RDoc Jul 20, 2026
@kanutocd
kanutocd marked this pull request as ready for review July 20, 2026 04:57
@nobu
nobu merged commit 2b43839 into ruby:master Jul 20, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants