Class: Eg::AllCombinations

Inherits:
AllFiles show all
Defined in:
lib/eg/all_combinations.rb

Direct Known Subclasses

AllPairs

Constant Summary

Constants inherited from Fit::Fixture

Fit::Fixture::GRAY, Fit::Fixture::GREEN, Fit::Fixture::RED, Fit::Fixture::YELLOW

Instance Attribute Summary

Attributes inherited from Fit::Fixture

#args, #counts, #listener, #summary

Instance Method Summary collapse

Methods inherited from AllFiles

#do_row, #expand

Methods inherited from Fit::Fixture

camel, #check, #do_cell, #do_cells, #do_row, #do_rows, #do_tables, #error, escape, #exception, #find_class, #fixture_name, #get_args_for_table, #get_linked_fixture_with_args, gray, #ignore, #info, #interpret_following_tables, #interpret_tables, label, metadata, #parse, #right, #total_errors, #totals, #wrong

Constructor Details

#initializeAllCombinations

Returns a new instance of AllCombinations.



9
10
11
12
13
# File 'lib/eg/all_combinations.rb', line 9

def initialize
  super
  @lists = []
  @case_number = 1
end

Instance Method Details

#do_table(table) ⇒ Object



14
15
16
17
18
# File 'lib/eg/all_combinations.rb', line 14

def do_table table
  @row = table.parts.last
  super
  combinations
end