class VCR::LibraryHooks
@private
Attributes
Public Instance Methods
Source
# File lib/vcr/library_hooks.rb, line 6 def disabled?(hook) ![nil, hook].include?(exclusive_hook) end
Source
# File lib/vcr/library_hooks.rb, line 10 def exclusively_enabled(hook) self.exclusive_hook = hook yield ensure self.exclusive_hook = nil end