Module: TestBench::Telemetry::Controls::Projection::ApplyMethod

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

Class Method Summary collapse

Class Method Details

.example(event_type = nil) ⇒ Object



67
68
69
70
71
72
73
# File 'lib/test_bench/telemetry/controls/projection.rb', line 67

def self.example(event_type=nil)
  event_type ||= Event::SomeEvent.event_type

  event_name = TestBench::Telemetry::Event::EventName.get(event_type)

  :"apply_#{event_name}"
end

.other_exampleObject



75
76
77
78
79
# File 'lib/test_bench/telemetry/controls/projection.rb', line 75

def self.other_example
  event_type = Event::SomeOtherEvent.event_type

  example(event_type)
end