module VCR::Hooks

Public Instance Methods

clear_hooks() click to toggle source
# File lib/vcr/util/hooks.rb, line 11
def clear_hooks
  hooks.clear
end
invoke_hook(hook, tag, *args) click to toggle source
# File lib/vcr/util/hooks.rb, line 5
def invoke_hook(hook, tag, *args)
  hooks_for(hook, tag).each do |callback|
    call_block(callback, *args)
  end
end