Class: TestBench::Controls::Executor::Substitute

Inherits:
Object
  • Object
show all
Defined in:
lib/test_bench/controls/executor/substitute.rb

Defined Under Namespace

Modules: Assertions

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#telemetry=(value) ⇒ Object (writeonly)

Sets the attribute telemetry

Parameters:

  • value

    the value to set the attribute telemetry to.



5
6
7
# File 'lib/test_bench/controls/executor/substitute.rb', line 5

def telemetry=(value)
  @telemetry = value
end

Instance Method Details

#call(files) ⇒ Object



7
8
9
10
11
# File 'lib/test_bench/controls/executor/substitute.rb', line 7

def call files
  files.each do |file|
    executed_files << file
  end
end

#executed_filesObject



13
14
15
# File 'lib/test_bench/controls/executor/substitute.rb', line 13

def executed_files
  @executed_files ||= []
end