Sha256: b5d47c005d6639d26628e7a941c2bafdb668f8abcb4e6637f0435fa7a6db51bc

Contents?: true

Size: 311 Bytes

Versions: 3

Compression:

Stored size: 311 Bytes

Contents

# frozen_string_literal: true

module Openapi3Parser
  module NodeFactory
    class RecursivePointer
      attr_reader :reference_context

      def initialize(reference_context)
        @reference_context = reference_context
      end

      def node
        reference_context.node
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openapi3_parser-0.5.2 lib/openapi3_parser/node_factory/recursive_pointer.rb
openapi3_parser-0.5.1 lib/openapi3_parser/node_factory/recursive_pointer.rb
openapi3_parser-0.5.0 lib/openapi3_parser/node_factory/recursive_pointer.rb