class Cri::ArgumentList::ArgumentCountMismatchError

Error that will be raised when an incorrect number of arguments is given.

Public Class Methods

new(expected_count, actual_count) click to toggle source
Calls superclass method
# File lib/cri/argument_list.rb, line 8
def initialize(expected_count, actual_count)
  super("incorrect number of arguments given: expected #{expected_count}, but got #{actual_count}")
end