Module: RobotConfiguration::BedHelpers
Overview
rubocop:todo Style/Documentation
Instance Method Summary collapse
Instance Method Details
#bed(number) ⇒ Object
8 9 10 11 12 |
# File 'lib/robot_configuration.rb', line 8 def bed(number) = SBCF::SangerBarcode.new(prefix: 'BD', number: number) ean13 = ..to_s BedOrCar.new(ean13, "Bed #{number}") end |
#car(position) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/robot_configuration.rb', line 14 def car(position) number = position.tr(',', '').to_i = SBCF::SangerBarcode.new(prefix: 'BD', number: number) ean13 = ..to_s BedOrCar.new(ean13, "Carousel #{position}") end |