Module: TestBench::Telemetry::Controls::Handler::Event

Defined in:
lib/test_bench/telemetry/controls/handler.rb

Constant Summary collapse

Example =
Controls::Event::Example
OtherExample =
Controls::Event::OtherExample

Class Method Summary collapse

Class Method Details

.dataObject



32
# File 'lib/test_bench/telemetry/controls/handler.rb', line 32

def self.data = 'some-data'

.example(data = nil) ⇒ Object



26
27
28
29
30
# File 'lib/test_bench/telemetry/controls/handler.rb', line 26

def self.example(data=nil)
  data ||= self.data

  Controls::Event.example(data)
end

.other_exampleObject



34
35
36
# File 'lib/test_bench/telemetry/controls/handler.rb', line 34

def self.other_example
  Controls::Event::OtherExample.new
end