Module: Chop
- Defined in:
- lib/chop.rb,
lib/chop/dsl.rb,
lib/chop/diff.rb,
lib/chop/form.rb,
lib/chop/table.rb,
lib/chop/config.rb,
lib/chop/create.rb,
lib/chop/dfn_dl.rb,
lib/chop/version.rb,
lib/chop/unordered_list.rb,
lib/chop/definition_list.rb
Defined Under Namespace
Modules: Config, DSL Classes: Create, DefinitionList, DfnDl, Diff, Form, Table, UnorderedList
Constant Summary collapse
- VERSION =
"0.31.0"
- Ul =
UnorderedList
- Dl =
DefinitionList
Class Method Summary collapse
Methods included from DSL
Methods included from Config
Class Method Details
.empty_table ⇒ Object
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/chop.rb', line 16 def self.empty_table empty = Cucumber::MultilineArgument::DataTable.from([[]]) def empty.diff! other_table, **kwargs, &block super other_table, **kwargs.reverse_merge(surplus_col: true, surplus_row: true), &block rescue Capybara::ElementNotFound end empty end |