Exception: ParseITC::WrongNumberOfElements

Inherits:
Exception
  • Object
show all
Defined in:
lib/parseitc/transaction.rb

Instance Method Summary collapse

Constructor Details

#initialize(expected, actual) ⇒ WrongNumberOfElements

Returns a new instance of WrongNumberOfElements.



68
69
70
# File 'lib/parseitc/transaction.rb', line 68

def initialize(expected, actual)
  super "Invalid number of elements (#{actual}). Expected #{expected} values"
end