lib/nocode/steps/sleep.rb in nocode-0.0.4 vs lib/nocode/steps/sleep.rb in nocode-0.0.5
- old
+ new
@@ -1,9 +1,11 @@
# frozen_string_literal: true
module Nocode
module Steps
# Sleep for an arbitrary number of seconds.
+ #
+ # Mechanic: https://apidock.com/ruby/Kernel/sleep
class Sleep < Step
option :seconds
def perform
Kernel.sleep(seconds_option.to_f)