Sha256: fdd146de9c1be18666252bbac47fcd04f7146563aaedaa95e514c5c38fc0fafa

Contents?: true

Size: 281 Bytes

Versions: 3

Compression:

Stored size: 281 Bytes

Contents

# https://github.com/ota42y/openapi_parser/issues/41
module OpenAPIParser
  module Findable
    def purge_object_cache
      return if @purged

      @find_object_cache = {}
      @purged = true

      _openapi_all_child_objects.values.each(&:purge_object_cache)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fakeit-0.6.1 lib/fakeit/core_extensions/findable.rb
fakeit-0.6.0 lib/fakeit/core_extensions/findable.rb
fakeit-0.5.3 lib/fakeit/core_extensions/findable.rb