Class: Robot::Generator::Hamilton

Inherits:
Base
  • Object
show all
Includes:
Behaviours::HamiltonDefault
Defined in:
app/models/robot/generator/hamilton.rb

Overview

Handles picking file generation for Hamilton robots

Direct Known Subclasses

Beckman

Instance Attribute Summary

Attributes inherited from Base

#batch, #ctrl_barcode_index, #dest_barcode_index, #picking_data, #plate_barcode, #source_barcode_index

Instance Method Summary collapse

Methods inherited from Base

#initialize, #total_volume

Constructor Details

This class inherits a constructor from Robot::Generator::Base

Instance Method Details

#as_textObject



14
15
16
# File 'app/models/robot/generator/hamilton.rb', line 14

def as_text
  mapping
end

#filename(base) ⇒ Object



5
6
7
# File 'app/models/robot/generator/hamilton.rb', line 5

def filename(base)
  "#{base}.csv"
end

#typeObject

The MIME type of the generated file.



10
11
12
# File 'app/models/robot/generator/hamilton.rb', line 10

def type
  'text/csv'
end