Class: CaTissue::AbstractSpecimen::SpecimenClass
- Inherits:
-
Object
- Object
- CaTissue::AbstractSpecimen::SpecimenClass
- Defined in:
- lib/catissue/domain/abstract_specimen.rb
Overview
The specimen_class attribute constants.
Constant Summary collapse
- TISSUE =
'Tissue'
- FLUID =
'Fluid'
- MOLECULAR =
'Molecular'
- CELL =
'Cell'
- UNIT_HASH =
The standard units used for each specimen class.
{TISSUE => 'gm', FLUID => 'ml', MOLECULAR => 'ug'}
Class Method Summary collapse
-
.include?(value) ⇒ Boolean
Whether the value is an accepted tissue class value.
Class Method Details
.include?(value) ⇒ Boolean
Returns whether the value is an accepted tissue class value.
70 71 72 |
# File 'lib/catissue/domain/abstract_specimen.rb', line 70 def self.include?(value) EXTENT.include?(value) end |