Method: OmfEc::ExperimentProperty#set
- Defined in:
- lib/omf_ec/experiment_property.rb
#set(value) ⇒ Object
Update the value of this Experiment Property
-
value = new value for this property
159 160 161 162 163 164 |
# File 'lib/omf_ec/experiment_property.rb', line 159 def set(value) @value = value info "#{name} = #{value.inspect} (#{value.class})" @change_observers.each { |proc| proc.call(value) } OmfEc.experiment.(name, value, :prop) end |