Exception: Betamax::Errors::BlockExpected

Inherits:
PlaybackError show all
Defined in:
lib/betamax/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(method_name) ⇒ BlockExpected

Returns a new instance of BlockExpected.



32
33
34
# File 'lib/betamax/errors.rb', line 32

def initialize method_name
  super "Method #{method_name} was called without a block but was recorded with one"
end