Method: YARD::DocstringParser#directives

Defined in:
lib/yard/docstring_parser.rb

#directivesArray<Tags::Directive>

Returns a list of directives identified by the parser. This list will not be passed on to the Docstring object.

Returns:

  • (Array<Tags::Directive>)

    a list of directives identified by the parser. This list will not be passed on to the Docstring object.

Since:

  • 0.8.0



44
45
46
# File 'lib/yard/docstring_parser.rb', line 44

def directives
  @directives
end