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
-
#factory ⇒ Object
readonly
Returns the value of attribute factory.
Instance Method Summary collapse
-
#initialize(factory) ⇒ RecursiveResolvedInput
constructor
A new instance of RecursiveResolvedInput.
- #value ⇒ Object
Constructor Details
#initialize(factory) ⇒ RecursiveResolvedInput
Returns a new instance of RecursiveResolvedInput.
90 91 92 |
# File 'lib/openapi3_parser/node_factory/fields/reference.rb', line 90 def initialize(factory) @factory = factory end |
Instance Attribute Details
#factory ⇒ Object (readonly)
Returns the value of attribute factory.
88 89 90 |
# File 'lib/openapi3_parser/node_factory/fields/reference.rb', line 88 def factory @factory end |
Instance Method Details
#value ⇒ Object
94 95 96 |
# File 'lib/openapi3_parser/node_factory/fields/reference.rb', line 94 def value @factory.resolved_input end |