Module: MotionBundler::Require::Mocker

Extended by:
Mocker
Includes:
Dirs, Hooks
Included in:
Mocker
Defined in:
lib/motion-bundler/require/mocker.rb,
lib/motion-bundler/require/mocker/dirs.rb,
lib/motion-bundler/require/mocker/hooks.rb

Defined Under Namespace

Modules: Dirs, Hooks

Constant Summary

Constants included from Dirs

Dirs::APP_MOCKS, Dirs::GEM_MOCKS

Instance Method Summary collapse

Methods included from Dirs

#add_dir, #dirs

Methods included from Hooks

#hook, #unhook

Instance Method Details

#yieldObject



11
12
13
14
15
16
# File 'lib/motion-bundler/require/mocker.rb', line 11

def yield
  start
  yield
ensure
  stop
end