module Bootsnap::LoadPathCache::CoreExt::ActiveSupport
Public Class Methods
allow_bootsnap_retry(allowed) { || ... }
click to toggle source
# File lib/bootsnap/load_path_cache/core_ext/active_support.rb, line 14 def self.allow_bootsnap_retry(allowed) prev = Thread.current[:without_bootsnap_retry] || false Thread.current[:without_bootsnap_retry] = !allowed yield ensure Thread.current[:without_bootsnap_retry] = prev end
without_bootsnap_cache() { || ... }
click to toggle source
# File lib/bootsnap/load_path_cache/core_ext/active_support.rb, line 6 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