We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@!macro
@!parse
@!macro cannot attach to DSL methods in @!parse.
Write these in lib/test.rb:
lib/test.rb
# A test class. class Test # @!macro [attach] property # @return [$2] the $1 property # @!parse property :title, String # @!parse property :view_count, Integer end
Run yard doc --debug.
yard doc --debug
No methods are documented.
It should be equivalent to this:
# A test class. class Test # @!macro [attach] property # @return [$2] the $1 property property :title, String property :view_count, Integer end
ruby -v
yard -v
I have read the Contributing Guide.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@!macro
cannot attach to DSL methods in@!parse
.Steps to reproduce
Write these in
lib/test.rb
:Run
yard doc --debug
.Actual Output
No methods are documented.
Expected Output
It should be equivalent to this:
Environment details:
ruby -v
): 3.3.4yard -v
): 0.9.37I have read the Contributing Guide.
The text was updated successfully, but these errors were encountered: