Exception: ParseITC::WrongNumberOfElements
- Inherits:
-
Exception
- Object
- Exception
- ParseITC::WrongNumberOfElements
- Defined in:
- lib/parseitc/transaction.rb
Instance Method Summary collapse
-
#initialize(expected, actual) ⇒ WrongNumberOfElements
constructor
A new instance of WrongNumberOfElements.
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 |