class YARD::Tags::Tag

Represents a metadata tag value (+@tag+). Tags can have any combination of {#types}, {#name} and {#text}, or none of the above.

@example Programmatic tag creation

# The following docstring syntax:
#   @param [String, nil] arg an argument
#
# is equivalent to:
Tag.new(:param, 'an argument', ['String', 'nil'], 'arg')