Class: LabelPrinter::Label::PlateToTubes
- Defined in:
- lib/label_printer/label/plate_to_tubes.rb
Instance Attribute Summary collapse
-
#tubes ⇒ Object
readonly
Returns the value of attribute tubes.
Attributes included from MultipleLabels
Instance Method Summary collapse
- #first_line(tube) ⇒ Object
-
#initialize(options) ⇒ PlateToTubes
constructor
A new instance of PlateToTubes.
Methods inherited from BaseTube
#assets, #barcode, #build_label, #date_today, #round_label_bottom_line, #round_label_top_line, #second_line, #third_line
Methods included from MultipleLabels
Constructor Details
#initialize(options) ⇒ PlateToTubes
Returns a new instance of PlateToTubes.
7 8 9 10 |
# File 'lib/label_printer/label/plate_to_tubes.rb', line 7 def initialize() super() @tubes = [:sample_tubes] end |
Instance Attribute Details
#tubes ⇒ Object (readonly)
Returns the value of attribute tubes.
5 6 7 |
# File 'lib/label_printer/label/plate_to_tubes.rb', line 5 def tubes @tubes end |
Instance Method Details
#first_line(tube) ⇒ Object
12 13 14 |
# File 'lib/label_printer/label/plate_to_tubes.rb', line 12 def first_line(tube) tube.name_for_label end |