Method: Split::Experiment#algorithm=

Defined in:
lib/split/experiment.rb

#algorithm=(algorithm) ⇒ Object


119
120
121
# File 'lib/split/experiment.rb', line 119

def algorithm=(algorithm)
  @algorithm = algorithm.is_a?(String) ? algorithm.constantize : algorithm
end