Class: VisionMate::NoTube
- Inherits:
-
Object
- Object
- VisionMate::NoTube
- Defined in:
- lib/vision_mate/no_tube.rb
Instance Attribute Summary collapse
-
#barcode ⇒ Object
Returns the value of attribute barcode.
-
#position ⇒ Object
Returns the value of attribute position.
Instance Method Summary collapse
- #empty? ⇒ Boolean
-
#initialize(_, position) ⇒ NoTube
constructor
A new instance of NoTube.
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
#barcode ⇒ Object
Returns the value of attribute barcode.
3 4 5 |
# File 'lib/vision_mate/no_tube.rb', line 3 def @barcode end |
#position ⇒ Object
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
9 10 11 |
# File 'lib/vision_mate/no_tube.rb', line 9 def empty? true end |