Exception: Turnip::Table::WidthMismatch
- Inherits:
-
StandardError
- Object
- StandardError
- Turnip::Table::WidthMismatch
- Defined in:
- lib/turnip/table.rb
Instance Method Summary collapse
-
#initialize(expected, actual) ⇒ WidthMismatch
constructor
A new instance of WidthMismatch.
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 |