Class: Testjour::CLI::SlaveStop
Instance Attribute Summary
Attributes inherited from BaseCommand
#non_options, #options
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from BaseCommand
detailed_help, help, inherited, #option_parser, options
Constructor Details
#initialize(*args) ⇒ SlaveStop
12
13
14
15
|
# File 'lib/testjour/commands/slave_stop.rb', line 12
def initialize(*args)
Testjour.logger.debug "Runner command #{self.class}..."
super
end
|
Class Method Details
.command ⇒ Object
8
9
10
|
# File 'lib/testjour/commands/slave_stop.rb', line 8
def self.command
"slave:stop"
end
|
Instance Method Details
#run ⇒ Object
17
18
19
|
# File 'lib/testjour/commands/slave_stop.rb', line 17
def run
PidFile.term("./testjour_slave.pid")
end
|