Class: LabwareCreators::Uncreatable
- Defined in:
- app/models/labware_creators/uncreatable.rb
Overview
Purposes with the Uncreatable creator can’t be created, so will not appear in the ‘Other plates’ dropdown. This should be reserved for labware which will fail to function correctly if created through Limber. In practice this class behaves just like the base creator, but has been sub-classed to better communicate its intent.
Class Method Summary collapse
-
.support_parent?(_parent) ⇒ Boolean
This creator is invalid for all parents.
Constructor Details
This class inherits a constructor from LabwareCreators::Base
Class Method Details
.support_parent?(_parent) ⇒ Boolean
Note:
This actually duplicates the behaviour on the base class, so is not required for correct functionality. However I’ve decided to include it here for reasons of clarity.
This creator is invalid for all parents.
14 15 16 |
# File 'app/models/labware_creators/uncreatable.rb', line 14 def self.support_parent?(_parent) false end |