This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Nested constants don't seem to be handled properly #1505
Labels
You can continue the conversation there. Go to discussion →
One common technique to define enumerations in Ruby that I like does not seem to be handled by YARD properly.
Steps to reproduce
This is the minimal reproduction for the issue. I've done my best to remove
all extraneous code and unique environment state on my machine before providing
these steps:
yard_nested_constants.rb
:doc/YardNestedConstants.html
Actual Output
Expected Output
Documentation of
PRODUCT_NAME
andPRODUCER
should be processed.Environment details:
ruby -v
):ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]
yard -v
):yard 0.9.34
I have read the Contributing Guide.
The text was updated successfully, but these errors were encountered: