class Rundoc::CodeCommand::Background::Wait
Public Class Methods
new(name: , wait:, timeout: 5)
click to toggle source
# File lib/rundoc/code_command/background/wait.rb, line 3 def initialize(name: , wait:, timeout: 5) @spawn = Rundoc::CodeCommand::Background::ProcessSpawn.find(name) @wait = wait @timeout_value = Integer(timeout) end
Public Instance Methods
call(env = {})
click to toggle source
# File lib/rundoc/code_command/background/wait.rb, line 13 def call(env = {}) @spawn.wait(@wait, @timeout_value) "" end
to_md(env = {})
click to toggle source
# File lib/rundoc/code_command/background/wait.rb, line 9 def to_md(env = {}) "" end