Sha256: 7a43d26130296ee83609da016010cc84cacfdac68dbfa1021f6b7b73e34c4d2c
Contents?: true
Size: 518 Bytes
Versions: 30
Compression:
Stored size: 518 Bytes
Contents
# frozen_string_literal: true class << $LOADED_FEATURES alias_method(:delete_without_bootsnap, :delete) def delete(key) Bootsnap::LoadPathCache.loaded_features_index.purge(key) delete_without_bootsnap(key) end alias_method(:reject_without_bootsnap!, :reject!) def reject!(&block) backup = dup # FIXME: if no block is passed we'd need to return a decorated iterator reject_without_bootsnap!(&block) Bootsnap::LoadPathCache.loaded_features_index.purge_multi(backup - self) end end
Version data entries
30 entries across 30 versions & 1 rubygems