Module: Helper::Sleep
- Defined in:
- lib/cucumber_salad/helper/sleep.rb
Class Method Summary collapse
Class Method Details
.disable ⇒ Object
8 9 10 |
# File 'lib/cucumber_salad/helper/sleep.rb', line 8 def disable @enable_sleep = false end |
.enable ⇒ Object
4 5 6 |
# File 'lib/cucumber_salad/helper/sleep.rb', line 4 def enable @enable_sleep = true end |
.enable? ⇒ Boolean
12 13 14 |
# File 'lib/cucumber_salad/helper/sleep.rb', line 12 def enable? sleep 10000 if @enable_sleep end |