Skip to content

Commit 9fef20e

Browse files
authored
Merge pull request #1516 from ksss/tag-name-nil
Add doc for Tag#name if no tag name is supplied
2 parents 714e850 + c07b938 commit 9fef20e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/yard/tags/tag.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class Tag
2323
attr_accessor :types
2424

2525
# @return [String] a name associated with the tag
26+
# @return [nil] if no tag name is supplied
2627
attr_accessor :name
2728

2829
# @return [CodeObjects::Base] the associated object

0 commit comments

Comments
 (0)