Class: Observation::Sample

Inherits:
Observation
  • Object
show all
Defined in:
app/models/observation/sample.rb

Overview

See Descriptor::Sample

Instance Method Summary (collapse)

Methods inherited from Observation

human_name, #otu_or_collection_object_set

Methods included from Housekeeping

#has_polymorphic_relationship?

Instance Method Details

- (Object) valid_min_max_boundary (protected)



13
14
15
# File 'app/models/observation/sample.rb', line 13

def valid_min_max_boundary
  :sample_min < :sample_max
end

- (Object) valid_sample_median (protected)



17
18
19
# File 'app/models/observation/sample.rb', line 17

def valid_sample_median
  :sample_median >= :sample_min && :sample_median <= :sample_max
end