Sha256: 311245c6af1a354d5d120a97091224981b49fd3c18965dab16e95d5f39edab63
Contents?: true
Size: 630 Bytes
Versions: 26
Compression:
Stored size: 630 Bytes
Contents
# frozen_string_literal: true # These are the monkeypatches to replace the default #load in order # to instrument the code before it gets run. # For now, this is not used, and may never be. The tracking and reporting for things can might be # loaded multiple times can be complex and is beyond the current scope of the project. module DeepCover module LoadOverride def load(path, wrap = false) return load_without_deep_cover(path, wrap) if wrap DeepCover.custom_requirer.load(path) { load_without_deep_cover(path) } end extend ModuleOverride override ::Kernel, ::Kernel.singleton_class end end
Version data entries
26 entries across 26 versions & 2 rubygems