Module: Condition

Includes:
Decision
Defined in:
lib/logic_operations.rb

Instance Method Summary collapse

Methods included from Decision

#mcdc_pairs, #test_cases, #truth_table

Instance Method Details

#condition_identifiersObject



27
28
29
# File 'lib/logic_operations.rb', line 27

def condition_identifiers
  [text_value]
end

#evaluate(conditions) ⇒ Object



31
32
33
# File 'lib/logic_operations.rb', line 31

def evaluate(conditions)
  conditions.shift
end