Class: VisionMate::NoTube

Inherits:
Object
  • Object
show all
Defined in:
lib/vision_mate/no_tube.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_, position) ⇒ NoTube

Returns a new instance of NoTube.



5
6
7
# File 'lib/vision_mate/no_tube.rb', line 5

def initialize(_, position)
  self.position = position
end

Instance Attribute Details

#barcodeObject

Returns the value of attribute barcode.



3
4
5
# File 'lib/vision_mate/no_tube.rb', line 3

def barcode
  @barcode
end

#positionObject

Returns the value of attribute position.



3
4
5
# File 'lib/vision_mate/no_tube.rb', line 3

def position
  @position
end

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/vision_mate/no_tube.rb', line 9

def empty?
  true
end