class SpringStandalone::Client::Stop
Public Class Methods
description()
click to toggle source
# File lib/spring_standalone/client/stop.rb, line 6 def self.description "Stop all SpringStandalone processes for this project." end
Public Instance Methods
call()
click to toggle source
# File lib/spring_standalone/client/stop.rb, line 10 def call case env.stop when :stopped puts "SpringStandalone stopped." when :killed $stderr.puts "SpringStandalone did not stop; killing forcibly." when :not_running puts "SpringStandalone is not running" end end