module Bootsnap::LoadPathCache::CoreExt::ActiveSupport

Public Class Methods

without_bootsnap_cache() { || ... } click to toggle source
# File lib/bootsnap/load_path_cache/core_ext/active_support.rb, line 5
def self.without_bootsnap_cache
  prev = Thread.current[:without_bootsnap_cache] || false
  Thread.current[:without_bootsnap_cache] = true
  yield
ensure
  Thread.current[:without_bootsnap_cache] = prev
end