Exception: MinimalistODS::InvalidRowLength

Inherits:
MinimalistOODSError show all
Defined in:
lib/minimalist_ods.rb

Instance Method Summary collapse

Constructor Details

#initialize(expected, got) ⇒ InvalidRowLength

Returns a new instance of InvalidRowLength.



112
113
114
# File 'lib/minimalist_ods.rb', line 112

def initialize(expected, got)
  super("The number of rows doesn't match. Expected: #{@expected}, got: #{got}")
end