Module: StateChangers
- Defined in:
- app/models/state_changers.rb
Overview
A State changer is responsible for transitioning the state of a plate, or individual wells.
Defined Under Namespace
Classes: AutomaticLabwareStateChanger, AutomaticPlateStateChanger, AutomaticTubeStateChanger, DefaultStateChanger, StateChangeError, TubeStateChanger
Class Method Summary collapse
Class Method Details
.lookup_for(purpose_uuid) ⇒ Object
57 58 59 60 |
# File 'app/models/state_changers.rb', line 57 def self.lookup_for(purpose_uuid) (details = Settings.purposes[purpose_uuid]) || raise("Unknown purpose UUID: #{purpose_uuid}") details[:state_changer_class].constantize end |