Class: Eg::AllPairs
- Inherits:
-
AllCombinations
- Object
- Fit::Fixture
- AllFiles
- AllCombinations
- Eg::AllPairs
- Defined in:
- lib/eg/all_pairs.rb
Defined Under Namespace
Constant Summary collapse
- @@rank =
0
Constants inherited from Fit::Fixture
Fit::Fixture::GRAY, Fit::Fixture::GREEN, Fit::Fixture::RED, Fit::Fixture::YELLOW
Instance Attribute Summary collapse
-
#pairs ⇒ Object
Returns the value of attribute pairs.
-
#steps ⇒ Object
Returns the value of attribute steps.
-
#to_item ⇒ Object
Returns the value of attribute to_item.
-
#vars ⇒ Object
Returns the value of attribute vars.
Attributes inherited from Fit::Fixture
#args, #counts, #listener, #summary
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ AllPairs
constructor
A new instance of AllPairs.
Methods inherited from AllCombinations
Methods inherited from AllFiles
Methods inherited from Fit::Fixture
camel, #check, #do_cell, #do_cells, #do_row, #do_rows, #do_table, #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
#initialize ⇒ AllPairs
Returns a new instance of AllPairs.
15 16 17 18 19 20 21 |
# File 'lib/eg/all_pairs.rb', line 15 def initialize super @steps = 0 @to_item = {} @vars = [] @pairs = Set.new end |
Instance Attribute Details
#pairs ⇒ Object
Returns the value of attribute pairs.
11 12 13 |
# File 'lib/eg/all_pairs.rb', line 11 def pairs @pairs end |
#steps ⇒ Object
Returns the value of attribute steps.
11 12 13 |
# File 'lib/eg/all_pairs.rb', line 11 def steps @steps end |
#to_item ⇒ Object
Returns the value of attribute to_item.
11 12 13 |
# File 'lib/eg/all_pairs.rb', line 11 def to_item @to_item end |
#vars ⇒ Object
Returns the value of attribute vars.
11 12 13 |
# File 'lib/eg/all_pairs.rb', line 11 def vars @vars end |
Class Method Details
.rank ⇒ Object
13 |
# File 'lib/eg/all_pairs.rb', line 13 def AllPairs.rank; @@rank; end |