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.



335
336
337
338
# File 'lib/cucumber/multiline_argument/data_table.rb', line 335

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

Instance Attribute Details

#tableObject (readonly)

Returns the value of attribute table.



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

def table
  @table
end