Class: Pairwise::IPO
- Inherits:
-
Object
- Object
- Pairwise::IPO
- Defined in:
- lib/pairwise/ipo.rb,
lib/pairwise/ipo/vertical.rb,
lib/pairwise/ipo/horizontal.rb
Defined Under Namespace
Classes: Horizontal, Vertical
Constant Summary collapse
- WILD_CARD =
'wild_card'
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(inputs, options = {}) ⇒ IPO
constructor
A new instance of IPO.
Constructor Details
#initialize(inputs, options = {}) ⇒ IPO
Returns a new instance of IPO.
8 9 10 11 |
# File 'lib/pairwise/ipo.rb', line 8 def initialize(inputs, = {}) @list_of_input_values = inputs @options = end |
Instance Method Details
#build ⇒ Object
13 14 15 16 |
# File 'lib/pairwise/ipo.rb', line 13 def build input_combinations = PairCollection.new(@list_of_input_values[0], [@list_of_input_values[1]], 0) @list_of_input_values.size > 2 ? in_parameter_order_generation(input_combinations) : input_combinations.to_a end |