Skip to content

rdoc only parses one definition per file #180

@zzak

Description

@zzak

I was trying to move lib/rubygems.rb module Gem definition to the top module definition, it's defined twice in the file. Only adding the docs to the second definition will get parsed by rdoc.

Here's a contrived example:

# omg
module Foo
end

# wtf
module Foo
end

If you generate the documentation for this file, you will only see the "wtf".

double module

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions