lsegal / yard

YARD is a Ruby Documentation tool. The Y stands for "Yay!"
http://yardoc.org
MIT License
1.92k stars 394 forks source link

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

Open ksss opened 8 months ago

ksss commented 8 months ago

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