Method: YARD::Parser::SourceParser#globals

Defined in:
lib/yard/parser/source_parser.rb

#globalsOpenStruct (readonly)

Returns an open struct containing arbitrary global state shared between files and handlers.

Returns:

  • (OpenStruct)

    an open struct containing arbitrary global state shared between files and handlers.

Since:

  • 0.7.0


393
394
395
# File 'lib/yard/parser/source_parser.rb', line 393

def globals
  @globals
end