Module: TestBench::Session::Controls::Output::Detail
- Defined in:
- lib/test_bench/session/controls/output/detail.rb
Class Method Summary collapse
Class Method Details
.example ⇒ Object
6 7 8 |
# File 'lib/test_bench/session/controls/output/detail.rb', line 6 def self.example Session::Output::Detail.on end |
.other_example ⇒ Object
10 11 12 |
# File 'lib/test_bench/session/controls/output/detail.rb', line 10 def self.other_example Session::Output::Detail.off end |
.random ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/test_bench/session/controls/output/detail.rb', line 14 def self.random details = [ Session::Output::Detail.on, Session::Output::Detail.off, Session::Output::Detail.failure ] index = Random.integer % details.count details[index] end |