Module: QcableLibraryPlatePurpose::ClassBehaviour

Included in:
QcableLibraryPlatePurpose
Defined in:
app/models/qcable_library_plate_purpose.rb

Instance Method Summary collapse

Instance Method Details

#state_of(plate) ⇒ Object


3
4
5
# File 'app/models/qcable_library_plate_purpose.rb', line 3

def state_of(plate)
  qcable_for(plate).state
end

#transition_to(plate, _state, *_ignored) ⇒ Object


7
8
9
# File 'app/models/qcable_library_plate_purpose.rb', line 7

def transition_to(plate, _state, *_ignored)
  assign_library_information_to_wells(plate)
end