Method: Scientist::Observation#cleaned_value
- Defined in:
- lib/scientist/observation.rb
#cleaned_value ⇒ Object
Return a cleaned value suitable for publishing. Uses the experiment’s defined cleaner block to clean the observed value.
40 41 42 43 44 |
# File 'lib/scientist/observation.rb', line 40 def cleaned_value if value experiment.clean_value value end end |