class OpenTrons::Well

Attributes

labware_item[RW]
location[RW]
tip[RW]

Public Class Methods

new(labware_item, location) click to toggle source
# File lib/opentrons/labware.rb, line 122
def initialize(labware_item, location)
        @labware_item = labware_item
        @location = location
        @tip = true
end

Public Instance Methods

bottom(z) click to toggle source
# File lib/opentrons/labware.rb, line 138
def bottom(z)
        position = {
                "anchor" => "bottom",
                "offset" => {
                        "z" => z
                }
        }
        return [self, position]
end
inspect() click to toggle source
# File lib/opentrons/labware.rb, line 152
def inspect
        to_s
end
to_s() click to toggle source
# File lib/opentrons/labware.rb, line 148
def to_s
        "<OpenTrons::Well:0x#{self.__id__.to_s(16)}>"
end
top(z) click to toggle source
# File lib/opentrons/labware.rb, line 128
def top(z)
        position = {
                "anchor" => "top",
                "offset" => {
                        "z" => z
                }
        }
        return [self, position]
end