Method: Split::Experiment#algorithm=

Defined in:
lib/split/experiment.rb

#algorithm=(algorithm) ⇒ Object



117
118
119
# File 'lib/split/experiment.rb', line 117

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