Skip to content

each_extend and each_include are removed from rdoc 6.13.0 onwards #3

Open
@geiger-to

Description

@geiger-to

I ran into an issue while trying out this gem:

$ bundle exec rdoc --template rorvswild
Parsing sources...
100% [205/205] [redacted]

Generating Darkfish format into [redacted]

You can visit the home page at: [redacted]
uh-oh! RDoc had a problem:
error generating [redacted].html: Error while evaluating /[redacted]/ruby/3.4.1/lib/ruby/gems/3.4.0/gems/rorvswild_theme_rdoc-0.2/lib/rdoc/generator/template/rorvswild/class.rhtml: undefined method 'each_include' for an instance of RDoc::NormalModule (RDoc::Error)

It seems each_extend and each_include were removed in ruby/rdoc#1315 and released in 6.13.0 (which I had installed locally). Everything works fine when I dowgrade to rdoc 6.12.0.

Assuming the maintainers of rdoc don't want to revert the change, the fix is replacing each_include and each_extend with includes.each and extends.each respectively . I'm happy to put up a two-line PR to fix this.

Thanks so much for your work on this theme. I'm a big fan!

cc @st0012

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions