Class: Robot::Generator::Hamilton
- Includes:
- Behaviours::HamiltonDefault
- Defined in:
- app/models/robot/generator/hamilton.rb
Overview
Handles picking file generation for Hamilton robots
Direct Known Subclasses
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
- #as_text ⇒ Object
- #filename(base) ⇒ Object
-
#type ⇒ Object
The MIME type of the generated file.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Robot::Generator::Base
Instance Method Details
#as_text ⇒ Object
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 |
#type ⇒ Object
The MIME type of the generated file.
10 11 12 |
# File 'app/models/robot/generator/hamilton.rb', line 10 def type 'text/csv' end |