Class: OpenTrons::VolumeCommand

Inherits:
PipetteCommand show all
Defined in:
lib/opentrons/commands.rb

Direct Known Subclasses

AirGap, Aspirate, Dispense

Instance Attribute Summary collapse

Attributes inherited from PipetteCommand

#location, #pipette

Attributes inherited from Command

#command, #params

Instance Method Summary collapse

Methods inherited from Command

#inspect, #to_hash, #to_s

Constructor Details

#initialize(command, pipette, volume, location) ⇒ VolumeCommand

Returns a new instance of VolumeCommand.



74
75
76
77
# File 'lib/opentrons/commands.rb', line 74

def initialize(command, pipette, volume, location)
  super(command, pipette, location)
  params["volume"] = volume
end

Instance Attribute Details

#volumeObject

Returns the value of attribute volume.



72
73
74
# File 'lib/opentrons/commands.rb', line 72

def volume
  @volume
end