Exception: Betamax::Errors::UnexpectedBlock

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

Instance Method Summary collapse

Constructor Details

#initialize(method_name) ⇒ UnexpectedBlock

Returns a new instance of UnexpectedBlock.



26
27
28
# File 'lib/betamax/errors.rb', line 26

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