Exception: Cucumber::MultilineArgument::DataTable::Different

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cucumber/multiline_argument/data_table.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table) ⇒ Different

Returns a new instance of Different.



333
334
335
336
# File 'lib/cucumber/multiline_argument/data_table.rb', line 333

def initialize(table)
  @table = table
  super("Tables were not identical:\n#{table}")
end

Instance Attribute Details

#tableObject (readonly)

Returns the value of attribute table.



331
332
333
# File 'lib/cucumber/multiline_argument/data_table.rb', line 331

def table
  @table
end