Skip to content
New issue

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

Add doc for Tag#name if no tag name is supplied #1516

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

ksss
Copy link
Contributor

@ksss ksss commented Oct 9, 2023

Description

Added documentation for YARD::Tags::Tag#name, which could be nil.

The following is a typical example.

YARD::DocstringParser.new.parse("@return [void]").tags
#=> [#<YARD::Tags::Tag:0x0000000105294108 @name=nil, @tag_name="return", @text="", @types=["void"]>]

Completed Tasks

  • I have read the Contributing Guide.
  • The pull request is complete (implemented / written).
  • Git commits have been cleaned up (squash WIP / revert commits).
  • I wrote tests and ran bundle exec rake locally (if code is attached to PR).

@lsegal lsegal merged commit 9fef20e into lsegal:main Aug 26, 2024
25 checks passed
@lsegal
Copy link
Owner

lsegal commented Aug 26, 2024

Makes sense, thanks!

@ksss ksss deleted the tag-name-nil branch August 26, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants