Class: Openapi3Parser::NodeFactory::Fields::Reference::RecursiveResolvedInput
- Inherits:
-
Object
- Object
- Openapi3Parser::NodeFactory::Fields::Reference::RecursiveResolvedInput
- Extended by:
- Forwardable
- Includes:
- Enumerable
- Defined in:
- lib/openapi3_parser/node_factory/fields/reference.rb
Overview
Used in the place of a hash for resolved input so the value can be looked up at runtime avoiding a recursive loop.
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
-
#initialize(context) ⇒ RecursiveResolvedInput
constructor
A new instance of RecursiveResolvedInput.
- #resolved_input ⇒ Object
Constructor Details
#initialize(context) ⇒ RecursiveResolvedInput
Returns a new instance of RecursiveResolvedInput.
73 74 75 |
# File 'lib/openapi3_parser/node_factory/fields/reference.rb', line 73 def initialize(context) @context = context end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
71 72 73 |
# File 'lib/openapi3_parser/node_factory/fields/reference.rb', line 71 def context @context end |
Instance Method Details
#resolved_input ⇒ Object
77 78 79 |
# File 'lib/openapi3_parser/node_factory/fields/reference.rb', line 77 def resolved_input context.resolved_input end |