Skip to content

Constant that refers to classname appears in doc even when #:nodoc:'d #51

@sgharms

Description

@sgharms
class Jobo
 A_CONS = 1 # :nodoc:
 J=Jobo # :nodoc:

 def foo
   'foo'
 end
end

in the resulting output J will still appear as a constant in the docs. A_CONS will not. This was found in the wild in ruby/lib/e2mmap.rb.

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