Class: Rois

Inherits:
Object show all
Defined in:
lib/rois/rois.rb

Overview

The Rois class defines a collection of the kinds of Rois that may be applied to the platform instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dut) ⇒ Rois

Public: Initializes Rois. NOT FOR USE IN TESTS.



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

def initialize(dut)
  @dut = dut
  @color = ColorRois.new(@dut)
  @text = TextRois.new(@dut)
  @image = ImageRois.new(@dut)
  @black = BlackRois.new(@dut)
  @video = VideoRois.new(@dut)
end

Instance Attribute Details

#blackObject (readonly)

Returns the value of attribute black.



10
11
12
# File 'lib/rois/rois.rb', line 10

def black
  @black
end

#colorObject (readonly)

Returns the value of attribute color.



10
11
12
# File 'lib/rois/rois.rb', line 10

def color
  @color
end

#imageObject (readonly)

Returns the value of attribute image.



10
11
12
# File 'lib/rois/rois.rb', line 10

def image
  @image
end

#textObject (readonly)

Returns the value of attribute text.



10
11
12
# File 'lib/rois/rois.rb', line 10

def text
  @text
end

#videoObject (readonly)

Returns the value of attribute video.



10
11
12
# File 'lib/rois/rois.rb', line 10

def video
  @video
end