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.
89 90 91 |
# File 'lib/openapi3_parser/node_factory/fields/reference.rb', line 89 def initialize(factory) @factory = factory end |
Instance Attribute Details
#factory ⇒ Object (readonly)
Returns the value of attribute factory.
87 88 89 |
# File 'lib/openapi3_parser/node_factory/fields/reference.rb', line 87 def factory @factory end |
Instance Method Details
#value ⇒ Object
93 94 95 |
# File 'lib/openapi3_parser/node_factory/fields/reference.rb', line 93 def value @factory.resolved_input end |