-
-
Notifications
You must be signed in to change notification settings - Fork 411
Open
Description
It seems that macros (specifically @!method) inside an empty class are ignored.
class X
# @!method i_get_ignored
# description
end
If I added a dummy method inside the class, the macros get processed
class X
class X
# @!method i_get_processed
# description
# @!visibility private
def dummy
nil
end
end
If I moved the macros above the class, they'll get processed
# This is class X
#
# @!method i_get_ignored
# description
class X
end
Expected behavior
Macros should be processed even when there are no other real methods in the class.
Metadata
Metadata
Assignees
Labels
No labels