Module: Labimotion::Constants::Klass
- Defined in:
- lib/labimotion/constants.rb
Constant Summary collapse
- ELEMENT =
'ElementKlass'- SEGMENT =
'SegmentKlass'- DATASET =
'DatasetKlass'- ALL =
[ELEMENT, SEGMENT, DATASET].freeze
- PERMIT_TARGET =
Standard ELN elements (sample, reaction, molecule, ...) have no klass model. Per-user settings that key on one use this pseudo-type, with the permit-target key itself as the klass identifier — see Labimotion::UserKlassSetting.
'PermitTarget'- USER_SETTINGS =
[ELEMENT, SEGMENT, DATASET, PERMIT_TARGET].freeze