Module: DeepCover::LoadOverride

Extended by:
ModuleOverride
Defined in:
lib/deep_cover/core_ext/load_overrides.rb

Instance Attribute Summary

Attributes included from ModuleOverride

#overriden_modules

Instance Method Summary collapse

Methods included from ModuleOverride

active=, each, override

Instance Method Details

#load(path, wrap = false) ⇒ Object



10
11
12
13
14
# File 'lib/deep_cover/core_ext/load_overrides.rb', line 10

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