Module: LabwareAssociations

Extended by:
ActiveSupport::Concern
Defined in:
app/models/concerns/labware_associations.rb

Overview

Associations related to Labware also included in Asset when not refactoring

Instance Method Summary collapse

Instance Method Details

#childObject


59
60
61
# File 'app/models/concerns/labware_associations.rb', line 59

def child
  children.last
end

#parentObject


55
56
57
# File 'app/models/concerns/labware_associations.rb', line 55

def parent
  parents.first
end