Exception: Turnip::Table::WidthMismatch

Inherits:
StandardError
  • Object
show all
Defined in:
lib/turnip/table.rb

Instance Method Summary collapse

Constructor Details

#initialize(expected, actual) ⇒ WidthMismatch

Returns a new instance of WidthMismatch.



44
45
46
# File 'lib/turnip/table.rb', line 44

def initialize(expected, actual)
  super("Expected the table to be #{expected} columns wide, got #{actual}")
end