Exception: Cadenza::InvalidArgumentCountError

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

Instance Method Summary collapse

Constructor Details

#initialize(expected_count, actual_count) ⇒ InvalidArgumentCountError

Returns a new instance of InvalidArgumentCountError.


4
5
6
# File 'lib/cadenza/library/expectation.rb', line 4

def initialize(expected_count, actual_count)
   super "wrong number of arguments (#{actual_count} for #{expected_count})"
end