Class: JekyllOpenAPI::Reference::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/jekyll_openapi/reference.rb

Overview

Shared per-dereference state: the linked root (for pointer resolution) and the logger. Populated by the Dereferencer once the whole tree is linked.

Instance Attribute Summary collapse

Instance Attribute Details

#loggerObject

Returns the value of attribute logger

Returns:

  • (Object)

    the current value of logger



25
26
27
# File 'lib/jekyll_openapi/reference.rb', line 25

def logger
  @logger
end

#rootObject

Returns the value of attribute root

Returns:

  • (Object)

    the current value of root



25
26
27
# File 'lib/jekyll_openapi/reference.rb', line 25

def root
  @root
end