Exception: Cadenza::InvalidArgumentTypeError

Inherits:
Error
  • Object
show all
Defined in:
lib/cadenza/library/expectation.rb

Instance Method Summary collapse

Constructor Details

#initialize(expected, actual) ⇒ InvalidArgumentTypeError

Returns a new instance of InvalidArgumentTypeError.


10
11
12
# File 'lib/cadenza/library/expectation.rb', line 10

def initialize(expected, actual)
   super "expected #{expected} but got #{actual}"
end