Class: TivoRois

Inherits:
Rois show all
Defined in:
lib/rois/tivo/tivo_rois.rb

Overview

Adds to or modifies the base ROIs with Tivo-specific ROIs.

Direct Known Subclasses

Tivo1080Rois, Tivo720Rois

Instance Attribute Summary

Attributes inherited from Rois

#black, #color, #image, #text, #video

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ TivoRois

Public: Initializes TivoRois. NOT FOR USE IN TESTS.



13
14
15
16
17
18
19
20
21
# File 'lib/rois/tivo/tivo_rois.rb', line 13

def initialize(*args)
  super(*args)
  # Add Rois common to all Tivos here
  @black = TivoBlackRois.new(@dut)
  @text = TivoTextRois.new(@dut)
  @image = TivoImageRois.new(@dut)
  @color = TivoColorRois.new(@dut)
  @video = TivoVideoRois.new(@dut)
end