Sha256: ea69d7c1d4f8b9d09711a479e02b6a7a0c362b05b7de7db16f6a823ca7aa38d4

Contents?: true

Size: 488 Bytes

Versions: 11

Compression:

Stored size: 488 Bytes

Contents

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

11 entries across 11 versions & 2 rubygems

Version Path
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/loaded_features.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/loaded_features.rb
bootsnap-1.4.5-java lib/bootsnap/load_path_cache/core_ext/loaded_features.rb
bootsnap-1.4.5 lib/bootsnap/load_path_cache/core_ext/loaded_features.rb
bootsnap-1.4.4-java lib/bootsnap/load_path_cache/core_ext/loaded_features.rb
bootsnap-1.4.4 lib/bootsnap/load_path_cache/core_ext/loaded_features.rb
bootsnap-1.4.3-java lib/bootsnap/load_path_cache/core_ext/loaded_features.rb
bootsnap-1.4.3 lib/bootsnap/load_path_cache/core_ext/loaded_features.rb
bootsnap-1.4.2-java lib/bootsnap/load_path_cache/core_ext/loaded_features.rb
bootsnap-1.4.2 lib/bootsnap/load_path_cache/core_ext/loaded_features.rb
bootsnap-1.4.2.rc3 lib/bootsnap/load_path_cache/core_ext/loaded_features.rb