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



4
5
6
# File 'lib/turnip/table.rb', line 4

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