Class: Thor
- Inherits:
-
Object
- Object
- Thor
- Defined in:
- lib/thor/vcr.rb
Class Method Summary collapse
-
.dispatch_with_vcr(meth, given_args, given_opts, config) ⇒ Object
(also: dispatch)
:nodoc:.
Class Method Details
.dispatch_with_vcr(meth, given_args, given_opts, config) ⇒ Object Also known as: dispatch
:nodoc:
20 21 22 23 24 25 |
# File 'lib/thor/vcr.rb', line 20 def dispatch_with_vcr(meth, given_args, given_opts, config) #:nodoc: cassette = given_args.join('_') VCR.use_cassette(cassette, :serialize_with => :json) do dispatch_without_vcr(meth, given_args, given_opts, config) #:nodoc: end end |