Class: Openapi3Parser::NodeFactory::RecursivePointer
- Inherits:
-
Object
- Object
- Openapi3Parser::NodeFactory::RecursivePointer
- Defined in:
- lib/openapi3_parser/node_factory/recursive_pointer.rb
Instance Attribute Summary collapse
-
#reference_context ⇒ Object
readonly
Returns the value of attribute reference_context.
Instance Method Summary collapse
-
#initialize(reference_context) ⇒ RecursivePointer
constructor
A new instance of RecursivePointer.
- #node ⇒ Object
Constructor Details
#initialize(reference_context) ⇒ RecursivePointer
Returns a new instance of RecursivePointer.
8 9 10 |
# File 'lib/openapi3_parser/node_factory/recursive_pointer.rb', line 8 def initialize(reference_context) @reference_context = reference_context end |
Instance Attribute Details
#reference_context ⇒ Object (readonly)
Returns the value of attribute reference_context.
6 7 8 |
# File 'lib/openapi3_parser/node_factory/recursive_pointer.rb', line 6 def reference_context @reference_context end |
Instance Method Details
#node ⇒ Object
12 13 14 |
# File 'lib/openapi3_parser/node_factory/recursive_pointer.rb', line 12 def node reference_context.node end |