class Rundoc::CodeCommand::Background::Stop
Public Class Methods
new(name:)
click to toggle source
# File lib/rundoc/code_command/background/stop.rb, line 3 def initialize(name:) @spawn = Rundoc::CodeCommand::Background::ProcessSpawn.find(name) end
Public Instance Methods
call(env = {})
click to toggle source
# File lib/rundoc/code_command/background/stop.rb, line 11 def call(env = {}) @spawn.stop "" end
to_md(env = {})
click to toggle source
# File lib/rundoc/code_command/background/stop.rb, line 7 def to_md(env = {}) "" end