Exception: Betamax::Errors::BlockExpected
- Inherits:
-
PlaybackError
- Object
- StandardError
- Error
- PlaybackError
- Betamax::Errors::BlockExpected
- Defined in:
- lib/betamax/errors.rb
Instance Method Summary collapse
-
#initialize(method_name) ⇒ BlockExpected
constructor
A new instance of BlockExpected.
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 |