Module: TestBench::Telemetry::Controls::Events::Commented
- Defined in:
- lib/test_bench/telemetry/controls/events/commented.rb
Class Method Summary collapse
Class Method Details
.comment ⇒ Object
20 |
# File 'lib/test_bench/telemetry/controls/events/commented.rb', line 20 def self.comment = Comment.example |
.example(comment: nil, time: nil) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/test_bench/telemetry/controls/events/commented.rb', line 6 def self.example(comment: nil, time: nil) comment ||= self.comment time ||= self.time TestBench::Telemetry::Event::Commented.new(comment, time) end |