Method: YARD::Templates::Helpers::BaseHelper#globals

Defined in:
lib/yard/templates/helpers/base_helper.rb

#globalsOpenStruct

An object that keeps track of global state throughout the entire template rendering process (including any sub-templates).

Returns:

  • (OpenStruct)

    a struct object that stores state

Since:

  • 0.6.0



20
# File 'lib/yard/templates/helpers/base_helper.rb', line 20

def globals; options.globals end