Class: Robots::Bed::PoolingAndSplitting

Inherits:
Pooling show all
Defined in:
app/models/robots/bed/pooling_and_splitting.rb

Overview

Pooling and Splitting beds can have multiple parents and multiple children, and have additional methods to support this

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#parentsObject

Returns the value of attribute parents.



7
8
9
# File 'app/models/robots/bed/pooling_and_splitting.rb', line 7

def parents
  @parents
end

Instance Method Details

#child_labwareObject



9
10
11
12
13
# File 'app/models/robots/bed/pooling_and_splitting.rb', line 9

def child_labware
  return [] if labware.nil?

  @child_labware ||= child_labware_of_plate
end