Module: Split::Algorithms::BlockRandomization

Defined in:
lib/split/algorithms/block_randomization.rb

Class Method Summary collapse

Class Method Details

.choose_alternative(experiment) ⇒ Object



10
11
12
# File 'lib/split/algorithms/block_randomization.rb', line 10

def choose_alternative(experiment)
  minimum_participant_alternatives(experiment.alternatives).sample
end